Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
aka_qlik
Partner - Contributor
Partner - Contributor

Fib

Hi all,

Any suggestions? 

Thanks for your help and ideas! 

2 Solutions

Accepted Solutions
marcus_sommer

IMO there no such function available in Qlik and I think it could be come quite difficult to calculate it within the UI. But you could load (externally or just creating them) these information as table and then pick/calculate your wanted values from there maybe with some set analysis, like (related to the below load):

concat({< N = {"<$(=max(N))"}>} F, ', ')

load *, F / previous(F) as Q;
load *, rangesum(if(N < 2, N, 0), peek('F', -1), peek('F', -2)) as F;
load recno()-1 as N autogenerate 50;

- Marcus

View solution in original post

tresesco
MVP
MVP

One possible UI solution could be like:

tresesco_1-1599640408053.png

tresesco_2-1599640465450.png

Dim (Hide it in the presentation tab) : 

=ValueLoop(1,nTHVar)

Exp :

 =if(RowNo()=1,0,if(RowNo()=2,1,
RangeSum(ValueLoop(1,nTHVar-2),Above(Fibo,1,2))
)) 

 

 

 

View solution in original post

2 Replies
marcus_sommer

IMO there no such function available in Qlik and I think it could be come quite difficult to calculate it within the UI. But you could load (externally or just creating them) these information as table and then pick/calculate your wanted values from there maybe with some set analysis, like (related to the below load):

concat({< N = {"<$(=max(N))"}>} F, ', ')

load *, F / previous(F) as Q;
load *, rangesum(if(N < 2, N, 0), peek('F', -1), peek('F', -2)) as F;
load recno()-1 as N autogenerate 50;

- Marcus

tresesco
MVP
MVP

One possible UI solution could be like:

tresesco_1-1599640408053.png

tresesco_2-1599640465450.png

Dim (Hide it in the presentation tab) : 

=ValueLoop(1,nTHVar)

Exp :

 =if(RowNo()=1,0,if(RowNo()=2,1,
RangeSum(ValueLoop(1,nTHVar-2),Above(Fibo,1,2))
))