Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
I am using below expression in a text box and it's returning 0 values, but if I remove '$' sign I can see the data
=count({<builddate={"$(=date(max(builddate)))"},comp={'Compliant'}>}distinct [comp Id])
Please suggest what I am missing
Regards
Try assigning date format to to the Date used in Set analysis.
=count({<builddate={"$(=date(max(builddate),'M/D/YYYY'))"},comp={'Compliant'}>}distinct [comp Id])
Hello,
Check for the date format of builddate.
Can you please show what is being calculated in the expression editor.
Hi Ashutosh,
My date is set to below format, and builddate is also displaying in same format only.
SET DateFormat='M/D/YYYY';
And this field I am directly using from table without any changes.
Ok. Could you please provide a screenshot of expression editor ?
Need to check what is being calculated in the editor.
Hi, above is the screenshot.
Try assigning date format to to the Date used in Set analysis.
=count({<builddate={"$(=date(max(builddate),'M/D/YYYY'))"},comp={'Compliant'}>}distinct [comp Id])
Thanks it's working now.
I have a doubt, before without providing date format it was working fine.
Today I started getting issue and after removing of '$' I am Getting the result.
Okay. Must be any data format change from backend.
Thanks Ashutosh, will check that, thanks.
But after removing '$' I can see the data, still need to be validate whether it's correct or not..
is it because of '$' returns current selection and whatever is applicable it's just displaying??
Yes, It states all records in current selection.