Pl attach some workbook or data to Help u fast.
I think you need to create a parameter (scan date, posted date) and a calculated field;
when "scan date" then [scan date]
when "posted date" then [posted date]
Drop this calculated field into your viz and it will switch between scan date and posted date for you.