Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
k_burata
Creator
Creator

Set Analysis: Filter date based on range

Hi,

I have a pivot chart and using Set analysis want to hide rows if the Actual Date is not within the From and To Dates. I have created a Calculated Dimension but doesn't seem to work with date ranges.

Here's my data:

     

EmployeeDate Assigned FromDate Assigned ToActual Date
1X1/01/201531/03/201521/01/2015
2X1/01/201531/03/201521/02/2015
3X1/01/201531/03/201521/03/2015
4X1/01/201531/03/201521/04/2015
5X1/01/201531/03/201521/05/2015

and logic. Show only rows where Actual Date is between Date Assigned From and Date Assigned To.

Thanks in advance.

5 Replies
Anonymous
Not applicable

You want to use as expression or Dimension??

kavita25
Partner - Specialist
Partner - Specialist

Post a sample data...

Not applicable

=if(Actual Date>=Date Assigned From and Actual Date<=Date Assigned To,Actual Date)


like this you want?

k_burata
Creator
Creator
Author

I am actually trying to do it that the rows in the pivot chart is shown when the actual date is inbetween date assigend from and date assigned to.