Forum Discussion
Date Range
Hi Anonymous
You can downlad this calendar table and apply the filter as below.
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Mariusz Thanks for helping me with this, I am however solutioning this in a established data mdel.
Can you please let me know how did you build the sYear field?
- Mariusz7 years agoCommunity Champion
Hi Anonymous
Please download the file and see the Query Steps it should be fairly easy to understad.If you are struggling then please let me know.
Regards,
Mariusz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.- Anonymous7 years agoNot applicable
I am almost there,
Date.Year([Date]) - nowYear is the custom column sYear
However how do I get the variable nowYear?
Thanks
- Mariusz7 years agoCommunity Champion
Hi Anonymous
This will be
nowYear = Date.Year(nowDate)
nowDate = Date.From(nowDateTime)
nowDateTime = DateTime.LocalNow()Hope this helps.
Mariusz