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
PBI_newuser
Post Prodigy
Post Prodigy

Measures difference: to fix one measure filter regardless of the filter

Hi,

I would like to calculate the growth % as below.

How to fix the GP% for actuals in the measures no matter what attribute is selected?

For example: 
Growth % for forecast = forecast GP% - actual GP%

Growth % for budget = budget GP% - actual GP%

 

Growth % = [GP%]-CALCULATE([GP %],(FILTER('P&L','P&L'[Attribute]="Actuals")))
1 ACCEPTED SOLUTION
v-zhenbw-msft
Community Support
Community Support

Hi @PBI_newuser ,

 

Don’t you want to change the value of actual GP%?

Maybe you can use the ALL function.

Please try the formula below.

 

Growth % = [GP%]-CALCULATE([GP %],(FILTER(ALL('P&L'),'P&L'[Attribute]="Actuals")))

 

If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data?

It will be helpful if you can show us the exact expected result based on the tables.

 

Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-zhenbw-msft
Community Support
Community Support

Hi @PBI_newuser ,

 

Don’t you want to change the value of actual GP%?

Maybe you can use the ALL function.

Please try the formula below.

 

Growth % = [GP%]-CALCULATE([GP %],(FILTER(ALL('P&L'),'P&L'[Attribute]="Actuals")))

 

If it doesn’t meet your requirement, could you please provide a mockup sample based on fake data?

It will be helpful if you can show us the exact expected result based on the tables.

 

Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you @v-zhenbw-msft It works! 

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.