Forum Discussion

vijayvizzu's avatar
vijayvizzu
Helper III
5 years ago
Solved

Split line chart with year

Hi, I created a line chart to compare the values for selected years. But the line chart generates only single line. How could i display the lines for each year selected.

I want the two lines, one for 2019, and second one 2020, then its easy to compare the trend. please suggest.

Axis i had taken MonthYr from calendar table.

Legend - i had taken Brent

Values - Measure called Avg. USD

 

 

  • vijayvizzu on x-axis you should use month (without year) and then on legend use Year column and that will do it.

     

    Follow us on LinkedIn

     

    Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.

1 Reply

  • vijayvizzu on x-axis you should use month (without year) and then on legend use Year column and that will do it.

     

    Follow us on LinkedIn

     

    Check my latest blog post Comparing Selected Client With Other Top N Clients | PeryTUS  I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!

     

    Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.