Forum Discussion

kleetus51's avatar
kleetus51
Helper I
3 years ago

Help on 2 custom columns

I'm building a price forecast model that will take historical pricing within a certain date range and purchasing recency. I've created a dates table and am using a slider to give me min/max dates, as well as a parameter based slider to define the recency curoff. Now I'm trying to tie those back to the price history table to determine whether each record is within threshold. Unfortunately my formulas aren't working, because I'm getting a True result regardless. Here are the two formulas and a screenshot. I would expect the values for the highlighted rows to be false. 

 

Within Date = 'Price History'[Date] >= MIN(Dates[Date])
Within Recency = 'Price History'[Recency] <= [Recency Cutoff]