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! It's time to submit your entry. Live 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!
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 38 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 141 | |
| 105 | |
| 63 | |
| 36 | |
| 35 |