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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ak77
Post Patron
Post Patron

Display Custom Total Value

Hi All  , need help on the below Please

The below table is a summarized table.. and Total  values are sum/ average of the respective columns.. my client has asked if we alter the Values in Total For Ex: % Planned Total Value should be (Total Complete+Total InProgress)/Total  (1277+69)/1561

 

ak77_0-1730482867361.png

Can this customization be done? Please help

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @ak77 - you can create custom measures that apply different calculations for the total row versus the individual rows.

create a custom measure for % Planned

 

% Planned Custom =
IF(
HASONEVALUE(FactTable[Title]),
DIVIDE(SUM(FactTable[Planned]), SUM(FactTable[Total])),
DIVIDE(SUM(FactTable[Complete]) + SUM(FactTable[In Progress]), SUM(FactTable[Total]))
)

 

Replace the % Planned column in your table visual with the % Planned Custom measure you created.

 

limitations like you must manually adjust each measure where the total-row calculation differs.It may not support every kind of complex aggregation, but it handles custom totals effectively for cases like this.

 

Hope this helps.

 





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

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @ak77 - you can create custom measures that apply different calculations for the total row versus the individual rows.

create a custom measure for % Planned

 

% Planned Custom =
IF(
HASONEVALUE(FactTable[Title]),
DIVIDE(SUM(FactTable[Planned]), SUM(FactTable[Total])),
DIVIDE(SUM(FactTable[Complete]) + SUM(FactTable[In Progress]), SUM(FactTable[Total]))
)

 

Replace the % Planned column in your table visual with the % Planned Custom measure you created.

 

limitations like you must manually adjust each measure where the total-row calculation differs.It may not support every kind of complex aggregation, but it handles custom totals effectively for cases like this.

 

Hope this helps.

 





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

Proud to be a Super User!





Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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