We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |