Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello Everyone,
I would like to find the "Count of Products" for the last 3 days i.e today, yesterday and a day before yesterday
using set analysis. It should be dynamic so that as the days change I can get the information of the current day
and the previous 2 days as well.
Thanks in advance.
Regards,
Kshitija Shinde
=COUNT({<Date= {">=$(=Date(Today()-2))<=$(=Date(Today()))"}>}Products)
or
=COUNT(Distinct {<Date= {">=$(=Date(Today()-2))<=$(=Date(Today()))"}>}Products)
Change field names accordingly
The below expression will give the expected ans.
COUNT(Distinct {<Date= {">=$(=Date(Max(Date)-2))<=$(=Date(Max(Date)))"}>} Products)
Date - Change the column as per your convenience.