Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

YoY Analysis in Bar Chart

I have a field called Opp Create Year

I want to make a bar chart that shows a bar for $$ each month in 2017, with another bar next to each month for the same period in 2016

I put a sample below of what I was able to put together. I have two expressions in the chart:

=sum({<[Upsell ARR (converted)]={">0"}, [Opp Created Year] = {'2017'}>}[Upsell ARR (converted)])

=sum({<[Upsell ARR (converted)]={">0"}, [Opp Created Year] = {'2016'}>}[Upsell ARR (converted)])

I am close but this is not what I want. I would like to see the January 2016 bar next to the January 2017 bar and so on ..

Any help is appreciated!

Q12345.PNG

1 Solution

Accepted Solutions
Or
MVP
MVP

In order for this to work, you would need to use month numbers/names (not month-year) for your dimension - you can get this value by using the Month() function.

View solution in original post

4 Replies
tresesco
MVP
MVP

May be sort it by Month field.

Anonymous
Not applicable
Author

Didnt work. Thank you though

Or
MVP
MVP

In order for this to work, you would need to use month numbers/names (not month-year) for your dimension - you can get this value by using the Month() function.

Anonymous
Not applicable
Author

Good catch! Thank you very much