Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi All,
can any one help to apply Max(Month) in my qlik sense count expression. Means instead of mentioning MONTH='Jun' i need to apply MONTH=Max(MONTH).
Count(if (MONTH='Jun', [FieldA]) )
thanks in advance
How was the MONTH field created? Is it a text only field or does num(MONTH) return a number? If it does you can try count({<MONTH={"=Num(MONTH)=$(=Max(MONTH))"}>} FieldA)
And, if your Month field has text values, you could try like:
=Count({<MONTH={"$(=Month(Max(Date#(MONTH,'MMM'))))"}>}FieldA)