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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have a purchases table and suppliers table and want to classify every supplier by the value of purchases dynamically depending on the selected period.
I tried to add a calculated column to a suppliers table with the formula:
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the attached pbix file.
I created a measure like below, and inserted into the table visualization.
clasification measure: =
IF (
[totalValue] <> BLANK (),
SWITCH (
TRUE (),
[totalValue] > 0
&& [totalValue] < 45, "A",
[totalValue] > 46
&& [totalValue] < 65, "B",
"C"
)
)
Hi,
I am not sure if I understood your question correctly, but please check the attached pbix file.
I created a measure like below, and inserted into the table visualization.
clasification measure: =
IF (
[totalValue] <> BLANK (),
SWITCH (
TRUE (),
[totalValue] > 0
&& [totalValue] < 45, "A",
[totalValue] > 46
&& [totalValue] < 65, "B",
"C"
)
)
Hi Kim, I have the similar scenario, however my table will contain only classification & measures(i.e., totals, %), but not the other Grouped fields (i.e., here the supplier name & year). When Im removing the supplier name & year from the given dashboard the classification is defaulting to "C". Any suggestions please....
Thank you!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 52 | |
| 51 | |
| 39 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 93 | |
| 84 | |
| 33 | |
| 29 | |
| 25 |