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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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