Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I've tried multiple ways and can't seem to get this to work...
I want to look at the columns FMLAIntermittent and Assignment
If FMLAIntermittent is null and assignment is not: Training, Other, Communications
if both are true: Ops
otherwise, NULL
OPS = IF(LongTermLeaveStatus[FMLAIntermittent] = NULL && (LongTermLeaveStatus[Assignment] <> "Training" || LongTermLeaveStatus[Assignment] <> "Other"), "Ops", Blank)
Solved! Go to Solution.
Hi @sully343 ,
You could try below code:-
OPS =
IF (
AND (
LongTermLeaveStatus[FMLAIntermittent] = BLANK (),
LongTermLeaveStatus[Assignment] IN { "Training", "Other" }
),
"Ops",
BLANK ()
)
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @sully343 ,
You could try below code:-
OPS =
IF (
AND (
LongTermLeaveStatus[FMLAIntermittent] = BLANK (),
LongTermLeaveStatus[Assignment] IN { "Training", "Other" }
),
"Ops",
BLANK ()
)
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
That worked! I just switched the "ops" and Blank response, but it did what I needed it to! Thank you!
Try below
OPS = IF(ISBLANK(LongTermLeaveStatus[FMLAIntermittent])=TRUE && (LongTermLeaveStatus[Assignment] <> "Training" || LongTermLeaveStatus[Assignment] <> "Other"), "Ops", Blank)
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 29 | |
| 27 |