Hey,
I can't share my specific workflow because it has patient data, but I have a list of Medicare Dates, there are many of these. And then I have Billing Dates. I need to find a Medicare Date that is within a range of -7 to 120 days of the Billing Date.
I tried using the following custom formula in a filter tool.
[Medicare RA Date] >= DateTimeAdd([Date First Bill Sent to Beneficiary], -7, 'days') AND
[Medicare RA Date] <= DateTimeAdd([Date First Bill Sent to Beneficiary], 120, 'days')
But as a result I'm getting dates that are not within -7 days and 120 days.
For example: My Date First Bill Sent to Beneficiary is 11/28/2020 but the result for Medicare RA Date I'm getting is 2/26/2021, which is -90 days from the Billing Date.