Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi guys,
I've written a dax function with OR but it doesn't work and I don't kwon why
If I write them separately, them work
Can you help me please?
Thank you 🙂
Solved! Go to Solution.
Note that A<>B || A<>(B-1) is always true since A cannot be both B and B-1 simultaneously.
I think what you might actually be after A is not equal to either, in which case you'd use && instead.
NOT ( A = B || A = B - 1 )
is logically equivalent to
A <> B && A <> B - 1
Note that A<>B || A<>(B-1) is always true since A cannot be both B and B-1 simultaneously.
I think what you might actually be after A is not equal to either, in which case you'd use && instead.
NOT ( A = B || A = B - 1 )
is logically equivalent to
A <> B && A <> B - 1
What result do you want?
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |