Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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"
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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"
)
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
146 | |
110 | |
107 | |
86 | |
63 |