If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.
Hi,
i have a problem with a request made by the customer; i have a straight table in my QlikSense App with 2 dimension and 7 measures.
In presentation, every measure in straight table as Totals (sum); now, in the ultimate measure i must change totals with new criteria but in QS i only change : SUM,COUNT,AVG,AUTOMATIC,MAX, MIN, NOTHING.
I must write in the ultimate measure: totals of Expression1 / totals of Expression7 .
Is There solution for this problem?
NB:
Expression1 is: Sum({$<YEARMONTH={'$(vMaxYearMonth)'}>}Sales)
Expression7 is: Sum({$<YEARMONTH={'$(vMaxYearMonth)'}>}Quantity/TOT)
I would that for Totals in Expression7, in above all, result is: Total of Expression1 (sum every rows) / Total of Expression1 (sum every rows).
Thanks for all and sorry 4 my bad english,
Mats
I resolve with " dimensionality () " function.
In Expression7:
if(dimensionality()=0,
Sum({$<YEARMONTH={'$(vMaxYearMonth)'}>}Sales) / Sum({$<YEARMONTH={'$(vMaxYearMonth)'}>}Quantity/TOT))
I resolve with " dimensionality () " function.
In Expression7:
if(dimensionality()=0,
Sum({$<YEARMONTH={'$(vMaxYearMonth)'}>}Sales) / Sum({$<YEARMONTH={'$(vMaxYearMonth)'}>}Quantity/TOT))