Forum Discussion

paulfink's avatar
paulfink
Post Patron
5 years ago

Filter Start and End Date using a Slicer

HI guys,

 

ran into a problem.

 

I am looking to filter my data using a slicer but the slicer only affects the start and end date.

 

My report views the change of project progress over a weekly basis.

 

So far my data is looking start of last week to end of last week.

 

But now I want to have a slicer to change the date to whatever period i choose.

 

Currently my Change formula is the difference between the start and end of last week.

 

those formulas are simple LOOKUPVALUE

 

Progress at Start = LOOKUPVALUE(ProjectProgress[ProgressPercentage],ProjectProgress[ProjectNumber], Projects[ProjectNumber], ProjectProgress[ProgressDate], MIN(Date[Last Week]))

Progress at End = LOOKUPVALUE(ProjectProgress[ProgressPercentage],ProjectProgress[ProjectNumber], Projects[ProjectNumber], ProjectProgress[ProgressDate], MAX(Date[Last Week]))

 

all that is different is the MIN and MAX

 

i have tried using Calendar[Date] instead of last week and using the Date in a Slicer but the Change figures do not work.

 

What could i do in order to make the Slicer filter the date in which the Change column selects the progress at the Start and End date and finds the difference.

 

 

 

 

Left Date is Start Date and Righr Date is End Date.

2 Replies