Forum Discussion
Anonymous
5 years agoNot applicable
DAX Formula If Statement
I have a table Merge1.
Two columns im looking at: compliance_status and S1 Installed
I need to have a calulated column that if compliance_status has the value Action Needed and S1 Installed has Not Installed then it will say Not compliant if else Compliant.
Struggling here
2 Replies
- amitchandak
Super User
Anonymous , You can create a new column
power query
if [compliance_status] = "Action Needed" and [S1 Installed] = "Not Installed" then "Not compliant" else "Compliant"
dax
if ([compliance_status] = "Action Needed" && [S1 Installed] = "Not Installed" ,"Not compliant" ,"Compliant")
- AnonymousNot applicable
for some reason it is still not acting as needed. maybe because it is merged table - should i mention the table name or?