Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All ,
I want to count the user id irrespective of year and month
=Count(DISTINCT id)
THanks,
May be this
Count(DISTINCT {<Month, Year>} id)
Hi Sunny ,
The expression not working correctly ,
Count(DISTINCT {<Month, Year>} id)
Please suggest.
Thanks,
What Sunny shared should work, unless your column names are different!!
Qlik is case sensitive
or maybe you need to add '=' sign if you are displaying the count in a text object?
Are you using this expression in a chart? Are Month and Year are dimensions there? If so, you might have to use identifier TOTAL
Hi Tresesco ,
I am using this expression in a chart . No the 'Month' and 'Year' are not present in the chart .
Please see the image attached.
In that case Sunny's expression should work. Could you provide sample app and describe the expected output?
What isn't working in the attached image? Can you elaborate a little more? What did you expect to see when Year and Month are selected?
=Count( DISTINCT {<Month,Year>}Total id)