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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.