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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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 🙂