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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
ashrat001
Helper I
Helper I

How to show two different Measures in a Matrix Table

Hi Experts,

I'm new to Power BI and DAX expressions. I have a scenario where I need to show two measures M1 and M2 into a Matrix Table. In the Rows I will have 'Segments', in the Column 'Calendar Year/Month' and Values should we have M1 for say Jan 2019 to Nov 2019 months and M2 for Dec 2019. But the challenge is M2 needs to be shown against Dec 2019 but it has values for 2019 Jan to Dec 2019. I have combined both the measures into a new measure and M1 is showing correct values from Jan 2019 to Nov 2019 but M2 in column = Dec 2019 is only showing Dec 2019 values not the cumulative ones.
I would appreciate your assistance.

ashrat001_0-1603997169133.png

Many Thanks!

 

Tariq 

2 REPLIES 2
wdx223_Daniel
Super User
Super User

think you need a IF in the M2, such as M2=IF(CALCUATE([Total],DATE[YearMonthNumber]<=201911),[Total])

amitchandak
Super User
Super User

@ashrat001 , Not very clear. But seems like you are looking for a Hybrid display.

Hybrid display with Matrix Column and measure
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1...
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...

vote for Hybrid Table

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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