cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Switch Measures values in chart

I calculcated measures for 2017, 2018, 2019 for some business units. see sample table below. Using this table, i need to create a stacked column chart.  (Axis should be year 2017, 2018, 2019) and stacked bar should be BU..  The challenge here is my year values are calculated from measures which can't drag under legend. so how to solve this case?Power bI query.PNG

Looking forward to hear back..

Many thanks,

Sankar 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Thank for your comments. I got a solution from the below link..

 

https://radacad.com/dax-measure-in-the-axis-of-the-power-bi-report

View solution in original post

2 REPLIES 2
Highlighted
Microsoft
Microsoft

Hi @msaninfo , measures cannot be set as legend or axis. To approach the stacked column chart you expect, it seems Axis should be years, Legend should be BU and Values should be the measure.

v-jingzhang_1-1600682063779.png

 

Best Regards,

Community Support Team _ Jing Zhang

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

Highlighted

Thank for your comments. I got a solution from the below link..

 

https://radacad.com/dax-measure-in-the-axis-of-the-power-bi-report

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors