Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
SR2
Contributor III
Contributor III

100% Stacked Bar Chart with Month as dimension

Hello People,

I want to create a 100% stacked bar chart with following- 

Dimension -

1) [EOM_Month] (Reporting data variable)

2) [Segment]

Measure

1) Sum of sale in each segment if the Event_date is less than EOM_Date

Graph - Stacked bar chart for each month, showing % of sale (if Event Date is less than EOM_Date) for each segment in respective month

I tried using total key word but it does not produce desired results using following exp.

sum(if ([Event Date] <= EOM_Date,[Sale]))
/
sum(total<EOM_Date>if ([Event Date] <= EOM_Date,[Sale]))

I have added[ EOM_Date] as dimension in Groups and [Segment] as Bar

Thanks,

SR

 

0 Replies