Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
d_ankusha
Creator II
Creator II

Bar Chart

I want to create a Bar Chart with four bars. There is one Dimension for ex. Date and one measure for ex. Sales. Now in Bar chart first bar shows the sales for current  month. Second bar shows the sales for MTD, third Bar shows the sales for YTD and Fourth bar shows the sales for Quarter year.

Please can anyone suggest a way to do that?

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try using synthetic dimension, like:

Dim: ValueList('Curr Month Sales', 'MTD', 'YTD', 'QTD')

Exp: Pick(Match(ValueList('Curr Month Sales', 'MTD', 'YTD', 'QTD'), 'Curr Month Sales', 'MTD', 'YTD', 'QTD'),

          <Exp for Curr Month Sales>, <Exp for MTD>, <Exp for YTD>, <Exp for QTD>)

View solution in original post

2 Replies
tresesco
MVP
MVP

Try using synthetic dimension, like:

Dim: ValueList('Curr Month Sales', 'MTD', 'YTD', 'QTD')

Exp: Pick(Match(ValueList('Curr Month Sales', 'MTD', 'YTD', 'QTD'), 'Curr Month Sales', 'MTD', 'YTD', 'QTD'),

          <Exp for Curr Month Sales>, <Exp for MTD>, <Exp for YTD>, <Exp for QTD>)

d_ankusha
Creator II
Creator II
Author

Thank you