Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
i try in qlik sense a set analysis with a variable, i will want calcolate a misure of year and year preview, but make me the total:
sum({<ANNO = {$(=max(ANNO))}},=$(=$(varaiblemesaure)))
With this result a total of all year...
thx every one,
hi,
Billy
What is the "varaiblemesaure"?
is a variable / container, where there is an expression whose result is a score
If that variable returns 1000, Simply use
sum({<ANNO = {"$(=max(ANNO))"}>} variablename)
Or
sum({<ANNO = {"$(=max(ANNO))"}>} $(variablename))
the problem is that it makes me the total sum, instead I would like the data of the year max or of the previous year, to compare them
The same question you already asked in the opening message itself. What is variable you defined? Is this something ANNO = {"$(=max(ANNO))"} calculating the Max Year? If not, What your goal here?
If you need compare analysis, Create Bar chart with Dimension as ANNO and Expression
Sum({<ANNO = {">=$(=AddYears(Max(ANNO),-1))<=$(=Max(ANNO))"}>} variablename)
I would like to make the difference between the (variable) score of the current and previous year variable
Can u please upload an example to test?
the result if i will want it's:
something similar...
($(score(MaxYear)) - $(score(MaxYear-1))) / $(score(MaxYear-1))
Seems like this is like Parameter query in analysis? I believe you already have variable like score in that you want by pass the all values with Latest and Latest-1?