if( rule!APN_isBlank(singlePV: ri!date), "", /*left(text(ri!date, "mmm",3), ri!format))*/ left(text(ri!date,"mmm",3), ri!format))
Following is the error
Expression evaluation error at function 'text' [line 7]: Signature length (2) does not match parameter length (3)
Discussion posts and replies are publicly visible
Remove the 3 from the text() function. The text() function only needs:The date value (ri!date)The format string ("mmm")
if( rule!APN_isBlank(singlePV: ri!date), "", left(text(ri!date, "mmm"), ri!format) )
This is still not working. As the left function needs the number of characters to be extracted from the text which is still missing from the code. It is not giving any result.
May i know what input and output you are expecting to help you better?
I am expecting incoming date in the format "09/09/2025" and output should be in dd-mmm-yyyy. For rest of the months the existing code is working fine. However, returning September as Sept.
Input - "09/09/2025"
Output - 09-Sep-2025
Could you try this onceLet me know if that works for you.
text( index(todate("09/09/2025", "MM/dd/yyyy"), 1), "dd-MMM-yyyy" )