Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Calculated Dimension to exclude listbox selection

Hi all,

I have a ranking formula in my chart. The formula specifically needs to calculate the rank for a client on a particular month (which is no problem).

However the dimension now needs to force the chart to reproduce this for the whole time series.

Here is the expression formula

 

aggr(rank(sum({<Client_Name=>} Sales )),Client_Name,CalendarDateYYYYMM)

However, I now need the dimension to evaluate all of the possible CalendarDateYYYYMM possible options.

Any advice on how to make a calculated dimension for CalendarDateYYYYMM  for all possible options.

As you can see, if I include this in the expression, my formula falls apart

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

This should also ignore selections of CalendarDateYYYYMM:

aggr(rank(sum({<Client_Name=,CalendarDateYYYYMM=>} Sales )),Client_Name,CalendarDateYYYYMM)


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi Gysbert,

Thanks, but this wont work (Have tried this already). The expression cant have the date restrictions removed in set analysis, this messes the ranks. It needs to be done completley outside - I am thinking in the Dimension of the chart...

aggr(rank(sum({<Client_Name=,CalendarDateYYYYMM=>} Sales )),Client_Name,CalendarDateYYYYMM