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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
tshep
Regular Visitor

Add measure to matrix visual Column

I have a matrix visual that shows basic project data for different buildings. In the columns of the visual I have data such as the total square footage of the building, and Amenity square footage.

I then created a measue (Amenity Area Ratio) that calculates the ratio of amenity sf to total building sf.

Amenity Area Ratio = DIVIDE(CALCULATE(MAX(vwProjectCustomField[Amenity SF])),CALCULATE(MAX(Project[square_feet])))

I want to add that ratio to the column of the matrix (just below the Amenity SF line item). However, I can only place the ratio measue in the Values.

What do I need to do to make/convert the measue into something that can be placed in the column? 

Screenshot 2024-03-13 094519.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @tshep 

In Power BI, you can't add measures to a matrix's column by default, and here are the main reasons:
Measure is usually a number of operations, such as sum, max, average... These operations need to be computed in the context of the visual.

Here's my test, I tried to put measure in column/row, but it didn't work:

vjianpengmsft_0-1710384442582.png

Here are some alternative solutions to display the measure as a column in the matrix:
1. Use the Tabular Editor tool to create a calculation group, the detailed tutorial can be found in the link below.

Use Measures in Columns of a Matrix Visual - Goodly

vjianpengmsft_1-1710384572682.png

2. Add a calculated table, manually add the special row sum column name as the value. You can click on the links below to learn more about similar solutions for cases with the same needs as yours.

Solved: Display a measure as a column in matrix visual - Microsoft Fabric Community

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi, @tshep 

In Power BI, you can't add measures to a matrix's column by default, and here are the main reasons:
Measure is usually a number of operations, such as sum, max, average... These operations need to be computed in the context of the visual.

Here's my test, I tried to put measure in column/row, but it didn't work:

vjianpengmsft_0-1710384442582.png

Here are some alternative solutions to display the measure as a column in the matrix:
1. Use the Tabular Editor tool to create a calculation group, the detailed tutorial can be found in the link below.

Use Measures in Columns of a Matrix Visual - Goodly

vjianpengmsft_1-1710384572682.png

2. Add a calculated table, manually add the special row sum column name as the value. You can click on the links below to learn more about similar solutions for cases with the same needs as yours.

Solved: Display a measure as a column in matrix visual - Microsoft Fabric Community

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 Solution Authors