Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I need assistance to convert below expression using Set Analysis
Current Expression:
Count(if(status='open', if ((target >= closedate), id)))
Note: closedate and target are date fields and are in same format.
I tried Below expression
Count ({<status= 'open', target = {">= closedate'}>} id)
But getting no values.
Request to assist
You have different quotes here
{">= closedate'}>}
Edit:
And, I prefer this approach:
Count ({<status= {'open'}, target = {"$(='>=' &date(closedate))"}>} id)
You have different quotes here
{">= closedate'}>}
Edit:
And, I prefer this approach:
Count ({<status= {'open'}, target = {"$(='>=' &date(closedate))"}>} id)
Thank you very much. sorry it was a typo on my end for different quotes.
Quick question is it mandatory to have "date" before (closedate)
The date() function helps to keep format consistent. Without it, it often converts to integer. It maybe not necessary in your case, but I prefer to use it anyway.