Forum Discussion
Filtering a table with user entered input date
- 8 years ago
Hi,
Ensure that the relationship is from the OrderDate column of the Sales Table to the Date column of the Calendar Table. Also, the relationship status should be active. Furthermore, you should be able to simplify your formula to:
=if([PostingDate - User Input Date]<0,CALCULATE(Sum('Sales'[Amount ]),[WhatIsTheAge]>=1,[WhatIsTheAge]<31,[Item Status] = "O"),0)
Hi Ashish
Thanks for the reply.
The relationship has been set before.
In the following Measure:
if([PostingDate - User Input Date]<0,CALCULATE(Sum('Sales'[Amount ]),[WhatIsTheAge]>=1,[WhatIsTheAge]<31,[Item Status] = "O"),0)
Just wanted to confirm, when the user inputs a date in the filter, will it go in the above measure calculation and this calc will work accordingly.
Or there is any other way to filter around the user input date.
Thanks
Hi,
Yes, the measure should recalculate when the user select a certain date in the filter.