Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
My simple if else condition isnt working, i have spent a day in this,Please help.
My calculated column is if a column named asset status is = on hold and another column named days to readiness is greater than 179, the value should be true else false.
the formula i am trying to use
=if(AND([Asset Status] = "on hold",[days to readiness]>179),"true","false"))
Hi @Ashmita ,
I tried to create a pbix file to reproduce your problem, but it worked.
You may download my attachment for reference.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It looks reasonably OK. Are you getting error messages or is the logic not working? If it is the logic then break the IF statement up and test a simple condition first, for example, test the string comparison by itself (there might be spaces in text field that cause no match to be found)
--
I think it's considered good practice to fully qualify the column names (like table[column name] ) so that they can be distinguished from measures.
--
Let me know how you get on
User | Count |
---|---|
84 | |
80 | |
72 | |
71 | |
55 |
User | Count |
---|---|
108 | |
106 | |
93 | |
85 | |
67 |