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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
nickbeltran7
Frequent Visitor

Stacking Measures Vertically

Hello! 

 

I have the following measures: 

 

Revenue = (SUM('Revenue'[Revenue]))
Quantity = CALCULATE(SUM('Revenue'[Quantity]))
Budget Revenue= SUM('Budget'[Budget])
Budget Quantity = SUM('Budget'[Quantity])
 
I usually display these measures in a matrix, sort of trying to do something similar to an Excel report. However, I am looking to stack revenue and quantity vertically in one column as values and have another value column for budget revenue and budget quantity. I have already played with switching values to rows in the matrix, but I still haven't been able to achieve the layout I want. If someone could help me with this, it would be appreciated.
 
This is how it looks like right now.
nickbeltran7_0-1713799207363.png

 

This is what I have done so far switching values to rows.

nickbeltran7_1-1713799410800.png

 

And this is where I am trying to get.

nickbeltran7_2-1713799445652.png

 

Thanks,

2 REPLIES 2
lbendlin
Super User
Super User

looks like you need to create buckets for Actuals and Budget, and then put that below the months in the column hierarchy.

Greg_Deckler
Super User
Super User

@nickbeltran7 You use a disconnected table for that and a single measure that determines which measure to display:

(1) The New Hotness (Custom Matrix Hierarchy) - Microsoft Fabric Community


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.