Looking for ways I can get a date range from a look up table then use those start and end dates in a filter.
In SQL I would
declare @startdate date
Set @startdate = (Select startdate from Lookup where period=1)
then I could get data where date >@startdate
Attached a pseudocode example.