Hi Guys,
Here is a link to a pbix file, please see tab 'dynamic date' and measure Quote Count R3M: https://1drv.ms/u/s!ArazqhFmvkSJlmVxJRRpSR1dAG4m?e=Mt51q2
What I am trying to do is allow a user to select a month from the slicer and have the table show the previous 3 months of data (including the selected month).
I followed the alberto ferrari demo but had to tweak it a little as I'm using a fiscal calendar.
For the DATESINPERIOD function, when I pass in the number of days as a literal (such as -91) it works just fine, but when I pass in the value as a parameter (__days) I don't get the expected results.
Am I doing something really stupid here?
Here is a link to a pbix file, please see tab 'dynamic date' and measure Quote Count R3M: https://1drv.ms/u/s!ArazqhFmvkSJlmVxJRRpSR1dAG4m?e=Mt51q2
What I am trying to do is allow a user to select a month from the slicer and have the table show the previous 3 months of data (including the selected month).
I followed the alberto ferrari demo but had to tweak it a little as I'm using a fiscal calendar.
For the DATESINPERIOD function, when I pass in the number of days as a literal (such as -91) it works just fine, but when I pass in the value as a parameter (__days) I don't get the expected results.
Am I doing something really stupid here?