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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
PBI-Curious
Resolver I
Resolver I

How to combine two measure into one in a Matrix View

Hello PBI Community Good Day!

 

Per the screen shots from my sample .pbix below, I have created a view with Sales and Revenue in a matrix visual with ease. However, when I use Analyze in Excel to create the same view, I can’t use the SnR Amount. I have to use my ( Total Sales and Total Revenue) Key Measures I have created.

 

*****Screen Shot 1******

PBICurious_0-1710863424435.png

What I’m trying to accomplish:

 

To create the same view per my .pbix above in Analyze in Excel.

 

What I have accomplished so far.

 

I have been able to create a similar view in Analyze in Excel, but my Sales and Revenue are staggered. Screen Shot 2

I need help with creating one measure that combines both measures to give me the view I have in Screen Shot 1 ( Sales and Revenue stacked and align under each other).

 

****Screen Shot 2******

PBICurious_1-1710863588836.png

 

Here are the measues for Sales and Revenue:

 

PBICurious_5-1710863898662.png

PBICurious_6-1710863910765.png

 

Much appreciate your time per this matter!

 

Thank you

 

 

4 REPLIES 4
Greg_Deckler
Community Champion
Community Champion

@PBI-Curious Take Values out of your Columns field well?



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...

Hello Greg_Deckler

Not sure what you mean per you comment below.

Take Values out of your Columns field well?

 

Also, How can I upload a sample .pbix?

 

Here are my measures. Can you provide an example?

Thank you

 

Total Revenue = CALCULATE(SUM('SnR 2020 - 2022'[SnR Amount]),'SnR 2020 - 2022'[transaction_type] = "Revenue")
 
Total Sales = CALCULATE(SUM('SnR 2020 - 2022'[SnR Amount]),'SnR 2020 - 2022'[transaction_type] = "Sales" || 'SnR 2020 - 2022'[transaction_type] = "Timing" )
 
 

@PBI-Curious In your Excel pivot table you have 2 things in the Columns field well, Values and Year. I am saying take Values out of that field well.



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...

Hello Greg_Deckler

Good Day!

When I take out  value from the column field well, my Total Sales and Total Revenue numbers disappear.

 

see screen shots below

 

Note: I'm creating my pivot in Analyze in Excel

 

Before

PBICurious_1-1711383500098.png

 

 

After:

PBICurious_0-1711383293778.png

 

 

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.