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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
msaninfo
Helper I
Helper I

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

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
v-jingzhang
Community Support
Community Support

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.

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

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.