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
KojakWeb
New Member

Include/Exclude fields used in calculation which in turn is used in a measure

Hi,

 

I have a calculated field (total salary) which is made up of several pay elements (e.g. gross salary, car allowance, pension contribution, pension contribution, etc., etc.). This calculated field is used in a measure to determine the gender pay gap. I would like to create a report that will allow to dynamically select/deselect one or more of these pay elements to see what the impact would be on the gender pay gap during a presentation.

 

I did try to use parameters for each pay element, and using that value in the formula for the calculated field, but to no avail. So any help would be much appreciated.

 

A.

1 ACCEPTED SOLUTION
Eric_Zhang
Employee
Employee

@KojakWeb

You can reference my demo as below. See more details in the attached pbix file. If it is not your case, please post more details of your scenario.

Capture.PNGCapture.PNG

View solution in original post

1 REPLY 1
Eric_Zhang
Employee
Employee

@KojakWeb

You can reference my demo as below. See more details in the attached pbix file. If it is not your case, please post more details of your scenario.

Capture.PNGCapture.PNG

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.