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
mikebi
Helper III
Helper III

matrix with two sets of measures

Hello,

I would like to create a matrix with two different measures for the columns like below.

 

mikebi_0-1701209308957.png

The alternative is to create two matrixes but my users want a single matrix. 

 

I am looking for suggestions on how to create this in PowerBI.

 

Thank You,

Michael

1 ACCEPTED SOLUTION

Well, it looks like we can get fun with DAX to accomplish this:

CoreyP_0-1701211103101.png

 

Your model should look something like this:

CoreyP_1-1701211141146.png

You'll need a table like this:

CoreyP_2-1701211176274.png

Build your matrix like this:

CoreyP_3-1701211228799.png

And make sure you expand all levels:

CoreyP_4-1701211263737.png

 

View solution in original post

4 REPLIES 4
CoreyP
Solution Sage
Solution Sage

It's possible but it won't look exactly like that with them side by side. But if you use Year from your date table in the rows, and Store from your store dimension table in the columns, then your measures in the values sections of the matrix visual, it will work. It will have each measure side by side within each Store category.

Hello,

Yes it will look like this but they want it separate.

 

Michael

mikebi_0-1701209933495.png

 

 

Additionally, use dynamic measure format strings to properly format the different results, like so:

CoreyP_0-1701215644449.png

 

Well, it looks like we can get fun with DAX to accomplish this:

CoreyP_0-1701211103101.png

 

Your model should look something like this:

CoreyP_1-1701211141146.png

You'll need a table like this:

CoreyP_2-1701211176274.png

Build your matrix like this:

CoreyP_3-1701211228799.png

And make sure you expand all levels:

CoreyP_4-1701211263737.png

 

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.