Forum Discussion
Anonymous
7 years agoNot applicable
Date Range
Hi all, My client has requested me to have a specific date range within a chart. Can anyone show me how to create a date range as follows: Min Date: Current Month - 2 Max Date Current Month...
Mariusz
7 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.
Anonymous
7 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