Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
8 |