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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Row % from Total

looking to calculate the % of a row total against the total

Product Group is a column
Overall Defects is the Count of a Column based on whether type is a "Defect"

Open > 6 months is a measure

 
Running Age (Open > 6 months) =
CALCULATE(
    COUNTROWS(Items'), FILTER('Items','Items'[Running Age in Days (Open Items)] > 183))


ROW TOTAL.png

what i am trying to achieve is get the row % of Open > 6 months figure from the total as per below

ROW TOTAL 2.PNG

 

thanks

1 ACCEPTED SOLUTION
Washivale
Resolver V
Resolver V

Hi @Anonymous ,

 

try below measure

 

PercentagevsTotal =
var total = Calculate([OverallDefects], All([Product Group]))
Return
Divide([Open > 6 months)], total, blank())

 

let me know if it works.

 

Thanks,

Washivale

View solution in original post

2 REPLIES 2
Washivale
Resolver V
Resolver V

Hi @Anonymous ,

 

try below measure

 

PercentagevsTotal =
var total = Calculate([OverallDefects], All([Product Group]))
Return
Divide([Open > 6 months)], total, blank())

 

let me know if it works.

 

Thanks,

Washivale

Anonymous
Not applicable

@Washivale 
thankyou
that worked great

 

so simple

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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