Forum Discussion
Relative date filtering
Hi monicajsv possible solution as following
If you need measure then it could be like:
Measure test=
CALCULATE (
SUM(Yourtable[somecolumn]),
https://learn.microsoft.com/en-us/dax/datesinperiod-function-dax?WT.mc_id=DP-MVP-4025372
Did I answer your question? Kudos appreciated / accept solution!
Hello,
I don't need a measure, I just want to be able to filter them.
Thanks for your help, I think I'll use a colum to calculate if the date is within the relative period I need and the use this column to filter.
Regards,
- Anonymous2 years agoNot applicable
HI monicajsv,
Maybe you can try to add a calculated column to compare with current date and table date to map records with period tags. Then you can use this field on filter to filter your visual records based on period tags.
Regards,
Xiaoxin Sheng