Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I would like to a create switch statement or any other measure that summarizes the "percentage of booked" column in the table below and tells me the number of times an item falls within the range I have specified in the switch statement. Below is an exampl of the ranges i have specified. my desired output would show me 3 items were less than 70%, 3 items were between 70 and 80 percent and one item was between 80 and 90 percent
| Item | Open Orders | Total Booked | Percentage of Booked |
| book | 78 | 100 | 78% |
| toy | 49 | 100 | 49% |
| hat | 69 | 120 | 58% |
| cup | 79 | 110 | 72% |
| bill | 19 | 90 | 21% |
| paper | 68 | 80 | 85% |
| laptop | 74 | 100 | 74% |
Solved! Go to Solution.
Power BI does not provide dynamic bucketing, you need to bring your own buckets.
see attached.
Please indicate the expected outcome based on your sample data.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.