Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there
I have the below expression
Count({<[Status]={8} >}distinct [Order No] )
How do I amend it to only return the data for the last 7 days?
May be something like this
Count({<[Status] = {8}, DateField = {"$(='>=' & Date(Today() - 7, 'DateFieldFormatHere'))"}>} DISTINCT [Order No])
Count({<[Status] = {8}, [Outscan Date] = {"$(='>=' & Date(Today() - 7, 'YYYY/MM/DD'))"}>} DISTINCT [Order No])
max date
Then try this
Count({<[Status] = {8}, [Outscan Date] = {"$(='>=' & Date(Max([Outscan Date]) - 7, 'YYYY/MM/DD'))"}>} DISTINCT [Order No])
Still returning a zero value