Forum Discussion
Week starting Wednesday
- Anonymous9 years ago
Create this as a calculated column wherever you want to do your date filtering (i.e. Date table)
WEEKNUM = IF( WEEKDAY([Date], 1) < 4), WEEKNUM([Date], 1), WEEKNUM([Date], 1) + 1 )
This will place Week Numbers next to all of your lines. Now you can do your filtering based on Weeknumbers. If you do this as part of a Date Dimension table, you can do a lookup from any date to the WeekNumber
Create this as a calculated column wherever you want to do your date filtering (i.e. Date table)
WEEKNUM = IF( WEEKDAY([Date], 1) < 4), WEEKNUM([Date], 1), WEEKNUM([Date], 1) + 1 )
This will place Week Numbers next to all of your lines. Now you can do your filtering based on Weeknumbers. If you do this as part of a Date Dimension table, you can do a lookup from any date to the WeekNumber
- Chau9 years agoNew Member
Anonymous Thanks a lot Ross. It works perfectly for me. However I don't want the new WeekNum to appear on the X-axis. Instead I want to use the date of the start of the week on the axis. For example, instead of showing 14, 15, I want to show 29/03/2017, 05/04/2017 on the X-axis. How can I do that?