Forum Discussion
Hamdan1234
Helper III
4 years agoTwo IF condition based on measure
I have a measure of Dax and I want to create another measure based on it. Below given table is measure condition and outcome that should come. Measure Status Outcome 23/12/2021 Y Complia...
- 4 years agoThis worked for me
Outcome =SWITCH(TRUE(),'Table'[Status]="N","Not Required",'Table'[Status]="Y" && [Measure]<TODAY(),"Non Compliant","Complaint")
amaniramahi
Helper V
4 years agoor based on what I comprehended, here is the solution
Outcome =
var CheckDate = if(Measure<today(),"Not Compliant","Compliant")
return
if(Status="N","Not Required",Outcome)