Forum Discussion
Anonymous
4 years agoNot applicable
If and DAX Measure error
Hi Experts Getting an erorr with the following if measure (second if step) Elasped RAG Status = IF(FACTNEWBI_IncidentAudit[Elapsed Time] >24, "Red", IF(FACTNEWBI_IncidentAudit[Elapsed Time]...
- 4 years ago
Try the following. I think you were missing a bracket at the end and needed to give a specifc column after the &&
IF( FACTNEWBI_IncidentAudit[Elapsed Time] >24, "Red", IF( FACTNEWBI_IncidentAudit[Elapsed Time] >= 12 && FACTNEWBI_IncidentAudit[Elapsed Time] < 24, "Amber", BLANK() ) )
bcdobbs
4 years agoCommunity Champion
Try the following. I think you were missing a bracket at the end and needed to give a specifc column after the &&
IF(
FACTNEWBI_IncidentAudit[Elapsed Time] >24,
"Red",
IF(
FACTNEWBI_IncidentAudit[Elapsed Time] >= 12 && FACTNEWBI_IncidentAudit[Elapsed Time] < 24,
"Amber",
BLANK()
)
)