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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi guys,
The below table is the one am trying to achieve. I have created a measure to find the sales % but I want that in a column so that it help me to create category based on that column.
Hello!
To create the categories on numerical values and store them as a column, I believe you need to calculate these percentage values of the total in the transformation step, within PowerQuery, to then create a conditional column saying which percentage each category fits. So when the data is updated, Powerquery will recalculate the results and redefine the ranges. In the following link there is an example of how to do this calculation in PowerQuery: How to calculate Power Query Percent of total or category (exceloffthegrid.com)
Just check if the performance will be satisfactory because it can be a big calculation depending on the number of lines.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 21 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 20 | |
| 13 | |
| 12 |