Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi all,
I'm fairly new to BI and I am trying to create a column that I can use as a Conditional Formatting Icon column. It's fairly simple, or at least I thought it was, I'm trying to create a measure in my Fact table to apply a "Good or Bad" scale to identify if the current state is in "Good" shape or "Bad" shape, if the actual value is within 5 pts of the forecasted value it's still considered "Good"
Solved! Go to Solution.
@BI_Newbie2 , Try measure with this modification
Health Status =
VAR HealthInd = MAX(DIM_KPI[HealthInd])
VAR Actual = MAX('FACT'[Actual])
VAR Up = MAX('FACT'[Upper])
VAR Low = MAX('FACT'[Lower])
RETURN
IF(
HealthInd = "High" && Actual > Up ||
HealthInd = "Low" && Actual < Low,
"Bad",
"Good"
)
Thanks for the reply from amitchandak.
Hi @BI_Newbie2 ,
Is your aim at this stage to get the result that HealthInd is neutral with the “Good” status, if I understand you correctly, I rewrote your arithmetic logic:
NewHealthStatus =
VAR _act =
SUM ( 'FACT'[Actual] )
VAR _up =
SUM ( 'FACT'[Upper] )
VAR _down =
SUM ( 'FACT'[Lower] )
VAR _health =
MAX ( 'DIM_KPI'[HealthInd] )
RETURN
IF (
_act >= _down
&& _act <= _up
&& NOT _health IN { "Low", "High" },
"Good",
"Bad"
)
The result is as follows:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Thanks for the reply from amitchandak.
Hi @BI_Newbie2 ,
Is your aim at this stage to get the result that HealthInd is neutral with the “Good” status, if I understand you correctly, I rewrote your arithmetic logic:
NewHealthStatus =
VAR _act =
SUM ( 'FACT'[Actual] )
VAR _up =
SUM ( 'FACT'[Upper] )
VAR _down =
SUM ( 'FACT'[Lower] )
VAR _health =
MAX ( 'DIM_KPI'[HealthInd] )
RETURN
IF (
_act >= _down
&& _act <= _up
&& NOT _health IN { "Low", "High" },
"Good",
"Bad"
)
The result is as follows:
Best Regards,
Zhu
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
@BI_Newbie2 , Try measure with this modification
Health Status =
VAR HealthInd = MAX(DIM_KPI[HealthInd])
VAR Actual = MAX('FACT'[Actual])
VAR Up = MAX('FACT'[Upper])
VAR Low = MAX('FACT'[Lower])
RETURN
IF(
HealthInd = "High" && Actual > Up ||
HealthInd = "Low" && Actual < Low,
"Bad",
"Good"
)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 27 | |
| 23 | |
| 18 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 63 | |
| 42 | |
| 41 | |
| 39 | |
| 37 |