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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
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.