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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

fix a date in an aggr function

Hello,

I want to build market share bar chart with the time in dimension. And I want to fix these dates to let more visibility for the users.

there is my formula:

sum({$<Year=,Month=>}VolMioPcs/

  aggr(NODISTINCT (sum({$<Year=,Month=>} VolMioPcs),

YearMonth)

(YearMonth is the concatenation of Year and Month)

Could some one tell me what is wrong with this?

Thak you in advance

3 Replies
MK_QSL
MVP
MVP

sum({$<Year=,Month=>}VolMioPcs/sum(TOTAL {$<Year=,Month=>} VolMioPcs)

sunny_talwar

By fixing the dates you mean that even if the user makes a selection on year or month, you still would like to see all the dates?

Best,

Sunny

Not applicable
Author

Yes,

Best regards