The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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?
User | Count |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |