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
JayKarim
Frequent Visitor

measures - Dividing 2 columns to get a percentage measure

Hi, 

 

I have 2 measures with numeric values. My end goal goal is to get a measure which gives me a % value of one over the other.

 

The 2 measures are:

 

1. Actual Losses Recovered (£)

2. Insured Loss Reserve

 

formula: Actuak losses recovered / insured loss Reserve 

 

I'm using the following measure but this is giving me an average % which i don't want:

 

% of losses Recovered = DIVIDE ([Actual Losses Recovered],  [Insured Loss Recovered],0)

 

I want the total sum of one column divided by the total suym of the other column which gives me the exact % value on my scorecard visual

 

Any help will be appreciated

 

Many thanks,

 

Jay  

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Use one of the following. Second one removes all filter applied to the table

 

% of losses Recovered = DIVIDE (SUM([Actual Losses Recovered]),  SUM([Insured Loss Recovered]),0)

% of losses Recovered1 = DIVIDE (CALCULATE(SUM([Actual Losses Recovered]),ALL('Table')),  CALCULATE(SUM([Insured Loss Recovered]),ALL('Table')),0)

 

View solution in original post

2 REPLIES 2
Vijay_A_Verma
Super User
Super User

Use one of the following. Second one removes all filter applied to the table

 

% of losses Recovered = DIVIDE (SUM([Actual Losses Recovered]),  SUM([Insured Loss Recovered]),0)

% of losses Recovered1 = DIVIDE (CALCULATE(SUM([Actual Losses Recovered]),ALL('Table')),  CALCULATE(SUM([Insured Loss Recovered]),ALL('Table')),0)

 

It works. Thank you so much 🙂

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.

Top Solution Authors
Top Kudoed Authors