Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
I have healthcare data such that I have a table of visits grouped by month, caregiver, and patient. A single caregiver can have multiple patients. A single patient can have multiple caregivers. In this table, I have columns "compliant visits" and "completed visits." To calculate the % compliance, I have created a measure that takes the sum of completed visits and divides it by the sum of compliant visits.
I want a pivot table visualization such that the rows are compliance "buckets" and the columns are months that are filtered with a slicer:
| Month 1 | Month 2 | Month 3 | Month 4 | Month 5 | Month 6 | |
| 95.00%-100.00% | ||||||
| 90.00%-94.99% | ||||||
| 85.00%-89.99% | ||||||
| 80.00%-84.99% | ||||||
| 75.00%-79.99% | ||||||
| 50.00-74.99% | ||||||
| 25.00%-49.99% | ||||||
| 0.00%-24.99% |
I created this measure categorizing the Compliance% measure:
I need 8 of these visualization all with different values (# patients, # hours, # visits... etc). My first thought was to make summarize tables from my main table grouping on different metrics I need. However, the team I am distributing this to wants to be able to filter on caregivers who have or have not been terminated so I need to use my original table instead of grouping on patients.
The dilemma is I am getting placeholder errors in my measures because I am wanting to count specific things in my table based off the compliance% measure. This is one of the measure I want as values in my pivot table:
You cannot have dynamic buckets in Power BI. You need to have a prepared reference table with all desired/possible bucket values, Then you can use your measure to fill these buckets.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 69 | |
| 59 | |
| 47 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 106 | |
| 102 | |
| 38 | |
| 27 | |
| 27 |