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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Vaishnav
Regular Visitor

get total as division of Other 2 column's Total values in the table view in power bi

Hi,
I have a Table visual in power  BI with below mentioned columns.

I want "MTT  Total" value as ... Division of  "Friction Total" and "Count Total"...…(Friction Total /Count Total )....

724034 / 7139=101.41

but I am  getting it as 101.46

could you please guide to get it as  724034 / 7139=101.41....in the same table as "MTT Total"..

please refer below mentioned table

 

TypeCountFriction MTT
P1 - Critical1030.2999999999999973.03
P2 - High9012243.13953488372136.03488372093022
P3 - Medium66259000.6192733017489.12480252764612
P4 - Low1405136807.932657494697.37219406227372
xyz4972515952103.77152051488335
Total7139724034101.46
1 ACCEPTED SOLUTION

Hi, Thanks for you support.

Finally I could fix the issue.

Posting the calculation...as it might help someone in future...

--correct the Total with sumx(summarize...) and use it in the division 

CorrectTotal =

        VAR a = SUMMARIZE (
            Table,
      Table[Type],


            "Revised", CALCULATE( Table[Friction], VALUES( Table[Type]) )
        )
        RETURN SUMX( a, [Revised] )

_division =
var x=Table[CorrectTotal]
var y=DISTINCTCOUNT(Table[number])
return DIVIDE(x,y)

View solution in original post

5 REPLIES 5
v-hashadapu
Community Support
Community Support

Hi @Vaishnav , Thank you for reaching out to the Microsoft Community Forum.

 

Please see the attached .PBIX file for your reference.

 

Note: 724034 / 7139=101.419, so it will be rounded to 101.42.

 

If this helped solve the issue, please consider marking it 'Accept as Solution' so others with similar queries may find it more easily. If not, please share the details, always happy to help.
Thank you.


Hi @v-hashadapu 
I need  that value as part of the table...at "Total" field under "MTT"  Column ( Highlighted in Red)

rajendraongole1
Super User
Super User

Hi @Vaishnav  - You need to create a new measure for MTT Total that does the division using total values, not the summed-up MTT values.

MTT Total =
DIVIDE(
    SUM('Test'[Friction]),
    SUM('Test'[Count])
)

 

 

rajendraongole1_0-1744349297035.png

 

 

Hope this helps and works





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Hi, Thanks for you support.

Finally I could fix the issue.

Posting the calculation...as it might help someone in future...

--correct the Total with sumx(summarize...) and use it in the division 

CorrectTotal =

        VAR a = SUMMARIZE (
            Table,
      Table[Type],


            "Revised", CALCULATE( Table[Friction], VALUES( Table[Type]) )
        )
        RETURN SUMX( a, [Revised] )

_division =
var x=Table[CorrectTotal]
var y=DISTINCTCOUNT(Table[number])
return DIVIDE(x,y)


Hi @rajendraongole1 
I need  that value as part of the table...at  "Total" field under "MTT"  Column ( Highlighted in Red)

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.