Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hi All,
Need your help in below situation.
This is the code:
SL2 = IF(GBS_TD_REP_for_Gangan[Close time]="","Open",IF(GBS_TD_REP_for_Gangan[Hours]<=GBS_TD_REP_for_Gangan[Priority Duration],"Met","Not Met"))
In this code, Close time is Date/Time field and Hours and Priority Duration are Whole number fields.
When I am typing above code, below is the attached error I am getting:
I am unable to figure put how to use value or Format function in my code.
Kindly assist.
Regards
Abhijit Mishra
Solved! Go to Solution.
@Anonymous Give a try with this...
SL2 = IF(ISBLANK(GBS_TD_REP_for_Gangan[Close time]),"Open",IF(GBS_TD_REP_for_Gangan[Hours]<=GBS_TD_REP_for_Gangan[Priority Duration],"Met","Not Met"))
Proud to be a PBI Community Champion
Hi @Anonymous,
By my tests, both of the solution from petrovnikitamai and pattemmanohar should solve your problem.
If you have solved your problem, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please feel free to ask.
Best Regards,
Cherry
try to use blank() instead ""
@Anonymous Give a try with this...
SL2 = IF(ISBLANK(GBS_TD_REP_for_Gangan[Close time]),"Open",IF(GBS_TD_REP_for_Gangan[Hours]<=GBS_TD_REP_for_Gangan[Priority Duration],"Met","Not Met"))
Proud to be a PBI Community Champion
Thanks for the solutions @petrovnikitamai @PattemManohar @v-piga-msft
Below is the code, which also gave the same result:
SL2 = IF(FORMAT(GBS_TD_REP_for_Gangan[Close time],"dd mm yy")="","Open",IF(GBS_TD_REP_for_Gangan[Hours]<=GBS_TD_REP_for_Gangan[Priority Duration],"Met","Not Met"))
Regards
Abhijit Mishra
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
89 | |
87 | |
82 | |
64 | |
49 |
User | Count |
---|---|
123 | |
109 | |
87 | |
67 | |
66 |