Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have a table where i need to add a single column which will display if student pass or fail
the field from data model is
NOTE- in single column
Any suggestion would be helpful
-
Hello Everest,
I agree with Oleg; please elaborate your request.
However, I am just passing a guess answer. Use below expression to get the desired results.
if(A='Y' OR A=1, 'Pass','Fail') AS Status
Hope this will help.
Thank you!
Rahul
You need to explain your problem in a bit more detail, and possibly post a sample app. It's not too clear what is your issue.
Hello Everest,
I agree with Oleg; please elaborate your request.
However, I am just passing a guess answer. Use below expression to get the desired results.
if(A='Y' OR A=1, 'Pass','Fail') AS Status
Hope this will help.
Thank you!
Rahul
Try below
Dual (If (A='Y','Pass','Fail'),If (A='Y',1,0)) as Status
Hi Ujjwal,
Sorry for the delayed response. Could you explain your question a bit more or post some sample data and expected output? It would be easy for us to help you quickly.
Thanks
if(A='Y' OR A=1, 'Pass','Fail') AS Status
works perfectly
Cheers...
Rahul