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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
Community Champion
Community Champion

@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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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