Forum Discussion
Expression error
- 1 year ago
Instead of using
if[FY18]= #date(null)
Use
if[FY18]= null
- 1 year ago
To explain further, your error message is because:
#date(year, month, day) requires three arguments.
#date(null) has only one argument
Of course, #date(null,null,null) would also be invalid as the arguments for #date(...) need to be of type number and each within a certain range of numbers, and null cannot be converted to a number.
As others have pointed out, you can just use if [FY18]=null ...
Nspiler, Thanks for reaching out ot MS fabric community support.
ronrsnfld, Omid_Motamedise, rohit1991, Fowmy Thanks for your promt response. Nspiler Can you please confirm whether solution provided by our super worked for you? please let us know if you need further assistance.
Your feedback is important to us, Looking forward to your response.
Thanks,
Prashanth Are
MS fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query