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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Stack graph with different legends

Hi all,

 

I trying to build a OEE loss Tree in powerbi but I'm archieving the result that i want.
I need to place in a stacked graph the lower part the result of OEE measure, after that the Availability losses segregated by it categories, and after that the Rate loss that is another measurement. The problem is that I not able to place the availability loss in the legend if i place it in the stacked graph with the other measures. Can anyone have any tip for me?

Gabriel_Quaglia_0-1713806094688.png

Thanks for you help!

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Based on what I got, Create a measure for all of them, Create a calculation group, and manually add a group column in that(Add new column and group measures). Use Group on axis, Calculation group as legend and any measure as value (Y-axis)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak ! Thanks for your help! When do you say create a calculation group, what this means? Can you give me a example of this in Dax?

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.