Forum Discussion

harrisonearl's avatar
harrisonearl
Frequent Visitor
6 years ago
Solved

Year over Year in Line and Column Chart

I'm struggling to figure out how to show a year over year line as part of a clustered column graph when I have a partial year. In the image below, I have monthly data from January 2018 through Januar...
  • camargos88's avatar
    camargos88
    6 years ago

    Hi harrisonearl ,

     

    I've create this file as an example: Download PBIX 

     

    If you have more than 1 value for the same item in x-axis, the calculation gets all the values for that item...that's why you are getting the wrong value.

     

    Perhaps it's better to have a chart with dates on a-axis instead of month...so you can see it by the time..or a chart without passenger numbers and just the values of the YoY....

     

    I realized that column values handles it differently from Line values...

     

    I hope it helps or someone can bring a better solution for it.

     

    Ricardo