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
Anonymous
Not applicable

How to include a measure on matrix rows

Hi, I have created a sampe data as shown below for this issue :

 

Filecount   RegionPIC
2SOUTHERN    ABC
2SOUTHERNXYZ
2SOUTHERNXYZ
3SOUTHERNXYZ
3SOUTHERNXYZ
3EASTERNHIJ
3EASTERNHIJ
3EASTERNHIJ
3EASTERN 
3EASTERN 
1SOUTHERNABC
5SOUTHERNABC
5CENTRALCDE
5CENTRALLMN
4SABAHLMN

 

I am able to come up with a matrix table as shown below in Power BI Desktop :

Current Table.PNG

 

Need help to include a measure called FileCount which is the sum of FileCount into the row of the matrix to get a table as shown below. It is also okay if the FileCount coluumn comes after the Region column :

 

Expected Table.PNG

 

 

Thanks.

 

 

1 REPLY 1
danextian
Super User
Super User

Hi @Anonymous ,

 

What you're trying to achieve is not available out of the box and will require some advanced DAX - eg you cannot have breakdown columns (1 ,2, etc) and then a total column for the breakdown but only a single column for the filecount (no breakdown). It is either you have breakdown columns for the total and the filecount or none at all. But that is out of the  box. Attached is a sample pbix you can reference to to help you achieve what you want.

 

danextian_0-1696314959474.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

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.

Top Kudoed Authors