Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello, I am working on automating something that was previously in Excel. I would like to insert a goal, mid goal, and max goal and then take the actual current number and have PowerBi tell me if what goal has been met.
Solved! Go to Solution.
Hi @lamccra5 ,
@khaledHabib90 , good answer! And here is my solution.
Performance Category =
VAR Selected_Value = SELECTEDVALUE(Parameter[Parameter])
RETURN
IF(
ISBLANK(Selected_Value),
BLANK(),
IF(
Selected_Value < 60,
"non-performance",
IF(
Selected_Value <70,
"goal",
IF(
Selected_Value < 90,
"mid goal",
"max goal"
)
)
)
)
goal = 60, mid goal = 70, max goal = 90.
The results are as follows:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @lamccra5 ,
@khaledHabib90 , good answer! And here is my solution.
Performance Category =
VAR Selected_Value = SELECTEDVALUE(Parameter[Parameter])
RETURN
IF(
ISBLANK(Selected_Value),
BLANK(),
IF(
Selected_Value < 60,
"non-performance",
IF(
Selected_Value <70,
"goal",
IF(
Selected_Value < 90,
"mid goal",
"max goal"
)
)
)
)
goal = 60, mid goal = 70, max goal = 90.
The results are as follows:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It should be something like the below, very similar to excel BTW
Create a calculated column, not a measure, using the below
Switch(true(),
Actuals >= max , "Max",
Actuals >= mid && actuals < max, "Mid",
Actuals >= goal && actuals < mid, "goal met",
"Goal not met")
If my reply helped you solve the issue, please accept it as the solution 🙂
User | Count |
---|---|
13 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
28 | |
19 | |
13 | |
11 | |
7 |