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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
Currently I am working on a project where I have to add multiple conditional colomns where:
If the status (for example) contains '4' then yes otherwise no.
The different statusses are:
So for example:
If I have status '129' then no, because (129 = status '128' + status '1')
But If I have status 132 then yes, because (132 = status '128' + status '4')
In MySQLworkbench I solved this by using the 'where status & 4' statement, but now I need to know how to do this in DAX.
Does anyone know a solution? 😊
Hi @Inezyv
You can use expression like this:
Column = if(MOD([Column1],4)=0,"yes","no")
Best Regards,
Community Support Team _Isabella
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
you can use CONTAINSSTRING dax function.
Thanks
Hari
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!