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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mirithu
Helper II
Helper II

Insert calculated row in a matrix

Hi,

I have a matrix table in Power BI that looks like this:

 

T1.png

 

 

 

 

 

 

 

 

I would like to insert a calculated row as highlighted below:

 

T2.png

 

 

 

 

 

 

 

 

 

 

How would I go about doing this?

 

Kind regards.

 

 

 

 

 

 

 

 

 

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

 
You can use the if function and corresponding filter conditions to create a new calculated column, and then add it to the hierarchy. In addition, your value needs to create a measure instead.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Liang,

 

Thank you for replying. 

I do not understand why I would need to use an IF function yet I am not evaluating a condition.

I just need to get the percentage of a value from a total in the same column.

 

For example, if I was doing this in excel, the formula would be, say, =A3/A5*100, then I would apply this across the row.

 

Kind regards.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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