I need to display data on a table that will display data from six days ago based on the date selected on the filter. For example, if the date selected on the filter is "2020/06/30", I need the table to display data from "2020/06/29", "2020/06/28", "2020/06/27", "2020/06/26", "2020/06/25", "2020/06/24".
I tried to use a What-If parameter, but I can not link the parameter to the date column on my table. Please help. Thank you.
For your purpose, You basically need a disconnected Calendar table. You can create a separate custom table for all dates as below-
Now, create your Date sclicer using the new custom table Dates_disconnected.
Finally, create a Measure as below in your Base table-
The above Measure will give you some output as below-
You can see Previous 5 day (considering selected date in slicer) is showing No and all other row is showing Yes. Now, just apply a visual level filter using the measure filter and filter out all rows having Yes in the row.