Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi
I'm hoping someone can assist with understanding a DAX measure.
I've inherited a report that includes a measure which excludes data from a matrix column if the SchoolYear is 20222023 AND the course is MFM. See table below. Note, the underlying data has values for MFM in 20222023.
I'm trying to understand HOW and WHY this measure works to give this result?
Without the OR condition of the FILTER ,
Solved! Go to Solution.
I'm pretty sure this is right:
For OR, if one of the two is TRUE, it's TRUE, if both are FALSE, it's FALSE
The 2nd part of the OR, if you were to put it as it's own Measure, returns this:
So for 20222023 MFM, you get a FALSE || FALSE = Don't count it
For 20222023 MPM, you get a TRUE || FALSE = Do count it
All other combo's have a TRUE in them somewhere and get Counted
I'm sure there are other ways to write it that make more sense, but it's interesting
I'm pretty sure this is right:
For OR, if one of the two is TRUE, it's TRUE, if both are FALSE, it's FALSE
The 2nd part of the OR, if you were to put it as it's own Measure, returns this:
So for 20222023 MFM, you get a FALSE || FALSE = Don't count it
For 20222023 MPM, you get a TRUE || FALSE = Do count it
All other combo's have a TRUE in them somewhere and get Counted
I'm sure there are other ways to write it that make more sense, but it's interesting
That makes sense.
Thanks so much!!!!!
Check out the April 2026 Power BI update to learn about new features.
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.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |