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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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