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

Constant Calculated measure value with slicer interaction

Hi All,

Trying to get the denominator values(measure) as constant value even when I select the different values with power Bi slicer.

When I select A in the slicer my denominator measure should be always total of B Column as value 15. Only Numerator value should interact with the slicer.  The % value will be placed in a Card visual which I had worked but the issue is when i select the item in slicer both the numerator & denominator are getting interacted. I need to have constant denominator value whcih ever i select the slicer item.

Thanks in advance.

 

 

PBI_Forum.png

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, we can create the measures as below to meet your requirement.

 

Numerator = SUM(Table1[Resolved Inflow-Numerator])
denominator = CALCULATE(SUM(Table1[Inflow-Denominator]),ALL(Table1))
% = [Numerator]/[denominator]

 

Then we can get result as below.

 

1.png

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/3ixd8nuemeksias/Constant%20Calculated%20measure%20value%20with%20slicer%20interaction.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

1 REPLY 1
v-frfei-msft
Community Support
Community Support

Hi @Anonymous,

 

Based on my test, we can create the measures as below to meet your requirement.

 

Numerator = SUM(Table1[Resolved Inflow-Numerator])
denominator = CALCULATE(SUM(Table1[Inflow-Denominator]),ALL(Table1))
% = [Numerator]/[denominator]

 

Then we can get result as below.

 

1.png

 

For more details, please check the pbix as attached.

 

https://www.dropbox.com/s/3ixd8nuemeksias/Constant%20Calculated%20measure%20value%20with%20slicer%20interaction.pbix?dl=0

 

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

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.