Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am trying to count the ID's for multiple dates where Open Date is in between Month Start and Month End for that particular date.
Date here is the dimension.
If the Date value is April 30 2019, I need all the ID's that have Open Date from April 1 to April 30.
If the Date value is March 30 2019, I need all the ID's that have Open Date from March 1 to March 30.
If the Date value is Feb 28 2019, I need all the ID's that have Open Date from Feb 1 to Feb 28.
Expression Used:
Count({<[Open Date] = {">$(=Date(Date#(Addmonths(max(Date),-1),'MM/DD/YYYY'),'MMM DD YYYY'))<=$(=Date(Date#(max(Date),'MM/DD/YYYY'),'MMM DD YYYY'))"}>}DISTINCT ID)
I have also attached the Excel file and the QVW for the reference.
Thanks in advance!
Expected Output:
Date # ID
4/30/2019 2
3/30/2019 1
2/28/2019 1
Attaching the QVW for reference.
Thanks,
Varun
Front end.
Hi Prashanth,
Front end. I have also attached the sample QVW.