I still have no idea how you want to use this "filter", so I cannot really provide more information.
I have attached modified version of JMP's sample data table Big Class with dates.
jthi_0-1653045616912.png
It has date column (generated with formula) and column which should tell if date is in last 7 days (also formula)
jthi_1-1653045646259.png
There is also table script which will create graph builder to with local data filter
jthi_2-1653045681640.png
-Jarmo