This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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 denominator is static for each selection. The output should be a bar chart with the bars representing the percentages for each line item/category based on the slicer selection.
For example, let's say I need the percentage of Accounts Receivable in the Midwest and South Regions relative to the whole
company, so the selection of the Midwest plus the South (which is the numerator) divided by all Regions' Accounts Receivable (denominator) gives me X%.
In other case, maybe I want the percentage of just the Midwest Region for Accounts Receivable, so the bar chart would update to show the percentage of just the Midwest Accounts Receivable (numerator) divided by all Regions Accounts Receivable (denominator).
I have 30 line items that this would need to work for and each line should update based on the Region selection, whether choosing one region or more than one.
The basic question is: Can I use the selection from a slicer to make a measure with a dynamic numerator but a static
denominator based on a unique line item/category? And if it's not possible to do this specifically, is there another potential solution?
Solved! Go to Solution.
Hi@Ben_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 ) )
Proud to be a Super User!
Hi@Ben_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 ) )
Proud to be a Super User!
Thank you!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 26 | |
| 25 | |
| 22 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 42 | |
| 41 | |
| 40 | |
| 21 | |
| 20 |