Forum Discussion
Ben_Kronk
5 years agoFrequent Visitor
Dynamic numerator based on slicer selections
I have a requirement for a Power BI dashboard and I'm not sure how to approach it, or if it's possible. I need a calculation where the numerator is dynamic based on the slicer selection, but the d...
- 5 years ago
HiBen_Kronk,
You can use the pattern below for the denominator. The ALL function removes the region filter, resulting in the total of all regions. The numerator is simply SUM ( [Amount] ).
All Regions A/R = CALCULATE ( SUM ( [Amount] ), ALL ( Regions ) )
DataInsights
5 years agoSuper User
HiBen_Kronk,
You can use the pattern below for the denominator. The ALL function removes the region filter, resulting in the total of all regions. The numerator is simply SUM ( [Amount] ).
All Regions A/R =
CALCULATE ( SUM ( [Amount] ), ALL ( Regions ) )
- Ben_Kronk5 years agoFrequent Visitor
Thank you!