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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
HanaB
New Member

Divide two columns in a table visual in Power BI

Hello everyone,

 

I have been struggling with a simple problem. Hopefully I can get help here.

My data is like this:

HanaB_0-1715698528271.png

This is a table visual from the data. I want to have the average value on the Total row to be: 227/920=24.67%, instead of the average value highlighted here.

HanaB_1-1715698616239.png

Thank you!

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

I think it should work if you don't create the calculated column but create a measure instead and put that in the visual.

The DAX will be very close to the column DAX but using SUM as an aggregation on each field.

View solution in original post

2 REPLIES 2
HanaB
New Member

It worked perfectly. Thank you 🙂

HotChilli
Super User
Super User

I think it should work if you don't create the calculated column but create a measure instead and put that in the visual.

The DAX will be very close to the column DAX but using SUM as an aggregation on each field.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.