Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi everyone, I am trying to create an if statement where I have multiple conditions, but I don't know how to use it
The colloquial "I need AL and AS and A and CS" translates into an OR statement (otherwise nothing would be returned).
Instead of multiple ORs you can use IN and enumerate a list.
Measure = IF(TBL[C] IN { "\N","2"," ","AL","A","AS","CS","EDS","HQ"}, "OK", "New Value")
Hi, in the case of "C" in the table is not a measure, should I add a "Calculate" before?
Measure = IF(Calculate(Sum(TBL[C] IN { "\N","2"," ","AL","A","AS","CS","EDS","HQ"}, "OK", "New Value")))
Or how can I bring the column of the table?
You cannot sum text values. Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.
User | Count |
---|---|
90 | |
74 | |
67 | |
63 | |
55 |
User | Count |
---|---|
101 | |
92 | |
74 | |
60 | |
59 |