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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello Experts,
I have a table and having one calculated column with Pass/Fail.
I want output like if all pass for one category then consider as pass and even one fail occur for that category then consider as fail.
something like
| Material | Insp | Check | Output | |||
| A | OD | TRUE | TRUE | |||
| A | DIST | TRUE | TRUE | |||
| A | ROUND | TRUE | TRUE | |||
| A | SFO | TRUE | TRUE | |||
| B | OD | TRUE | FALSE | |||
| B | DIST | FALSE | FALSE | |||
| B | ROUND | TRUE | FALSE | |||
| C | SFO | FALSE | FALSE | |||
| C | OD | FALSE | FALSE | |||
| C | DIST | FALSE | FALSE | |||
| C | ROUND | FALSE | FALSE | |||
Please assist,
Thanks in advance.
Regards,
Sarath.
Solved! Go to Solution.
Check that the Material has no false value in its group.
Output =
NOT (
FALSE
IN CALCULATETABLE (
VALUES ( Materials[Check] ),
ALLEXCEPT ( Materials, Materials[Material] )
)
)
Slightly less intuitive but simpler:
Output =
CALCULATE (
SELECTEDVALUE ( Materials[Check] ),
ALLEXCEPT ( Materials, Materials[Material] )
)
Yes, the second one will return blanks when multiple values are present. These get coerced into FALSE values if the column type is a logical boolean.
To work with "Yes" / "No", I think you could just add an argument to SELECTVALUE for what to return instead of blank when there are multiple values. That is, SELECTEDVALUE ( Materials[Check], "No" ).
Check that the Material has no false value in its group.
Output =
NOT (
FALSE
IN CALCULATETABLE (
VALUES ( Materials[Check] ),
ALLEXCEPT ( Materials, Materials[Material] )
)
)
Slightly less intuitive but simpler:
Output =
CALCULATE (
SELECTEDVALUE ( Materials[Check] ),
ALLEXCEPT ( Materials, Materials[Material] )
)
Hi @AlexisOlson ,
In case of something like "YES" or "NO" instead of "True" or "False" , first solution is working and Second solution is not giving expected result... Right?
Thanks & Regards,
Sarath.
Yes, the second one will return blanks when multiple values are present. These get coerced into FALSE values if the column type is a logical boolean.
To work with "Yes" / "No", I think you could just add an argument to SELECTVALUE for what to return instead of blank when there are multiple values. That is, SELECTEDVALUE ( Materials[Check], "No" ).
Thanks a lot @AlexisOlson . Great solution.It's working, I will check it in my real scenorio.
Greatful for quick response.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 63 | |
| 53 | |
| 42 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 124 | |
| 105 | |
| 44 | |
| 32 | |
| 24 |