Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi i have a column that has several data points, 25 different "reasons", in the column. I'm trying to flag only 5 of those "reasons" but not sure how to do that. I can do it with an IF statement/&&, but that's only going to return if they all meet the condition, i'm looking for an OR statement probably to make this work
Solved! Go to Solution.
You could change all your && to || but I'd suggest the following instead:
IF (
'Table'[Column] IN { "X", "Y", "Z", "A", "B" },
"1",
"0"
)
You could change all your && to || but I'd suggest the following instead:
IF (
'Table'[Column] IN { "X", "Y", "Z", "A", "B" },
"1",
"0"
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 75 | |
| 36 | |
| 31 | |
| 29 | |
| 26 |