Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
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