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.
Thank you!
Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.