Forum Discussion
Relative Date filter, working with weeks.
- 5 years ago
Guys, I manage it!
Super super easy and clear video:https://www.youtube.com/watch?v=gGNxKluPFNw
Just with one column now I have my custom relative date filter!
Thank you all for your time.
Have you considered creating a Week 'offset' column in your date table?
This is essentially a column that marks the current week as "0" (so W37 = 0 ) and then as you go back in time each week it subtracts 1 (W36 = -1, W35 = -2)
Then you can filter your visualization against this offset column. (Where week offset >= -8 and week offset <= 0).
It becomes your own home grown relative date filter.
Here are a few links for building an offset column (this can be done in power query or with DAX).
https://www.oraylis.de/blog/how-to-create-relative-week-column-in-power-bi
https://www.youtube.com/watch?v=NKr2TizM-KU
- gduobaite5 years agoHelper III
Guys, I manage it!
Super super easy and clear video:https://www.youtube.com/watch?v=gGNxKluPFNw
Just with one column now I have my custom relative date filter!
Thank you all for your time.