cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ShanayaK Member
Member

Showing values for each level in Hierarchy as line chart

Hi experts,

We had an initial requirement to get multiple columns as legend in Line graph. It is not possible in Power BI but found an indirect way to do this. 

I am able to get all the levels in the hierarchy in the "legends", as shown.

But i have noticed, we dont see the independant values for each level. For example, If we select Country = USA and State= Alabama, then we should see measure value = 75 for USA and 35 for Alabama (as expected solution). But we see measure value = 35 for USA, because once we select the state = Alabama, it filters out all the results for Country, USA

Please advise if there is any solution for this. I have attached the sample .pbix file for this.
Capture1.PNGCapture2.png

 

Thanks

2 REPLIES 2
Community Support Team
Community Support Team

Re: Showing values for each level in Hierarchy as line chart

Hi @ShanayaK , 

 I am  not sure which cuase this problem, measure or slicer, so if possible could you please inform me more detailed information(such as your expected output and your sample data)? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

ShanayaK Member
Member

Re: Showing values for each level in Hierarchy as line chart

Hi @dax 

 

Thanks for your reply. I have attached the sample .pbix file here.

https://1drv.ms/u/s!AuZHhD8McJrLbbxlox8Ej5Vj9jw?e=5A62G8 

 

 

 

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors