weeks
3 TopicsShow Current Week by default
Hi everyone, so im using current week filter and all weekNo. filter on left for year 2022,2021,2020 (same weeks) so that boss can see chose which ever weeks he like. Need: but he wants the current week to be showed by default. so if he opens this report he will see the current week sales for the year 2022,2021 and 2020 (same week) and use the all weekNo. filter to see the other weeks other than current. Problem: Problem is that the way i have used the current filter in dax does not allow me to use the other all weeks filter. please find below the dax code i have used for current week SemCourante = //Current Weeks if(year(now())&weeknum(now()-1) = year(DMVBICalendarView1[Date])&weeknum(DMVBICalendarView1[Date],1),"Courrante", if((year(now()))-1&weeknum(now()) = year(DMVBICalendarView1[Date])&weeknum(DMVBICalendarView1[Date],1),"Courrante-1", if((year(now()))-2&weeknum(now()) = year(DMVBICalendarView1[Date])&weeknum(DMVBICalendarView1[Date],1),"Courrante-2", if((year(now()))-3&weeknum(now()) = year(DMVBICalendarView1[Date])&weeknum(DMVBICalendarView1[Date],1),"Courrante-3")))) and please find below the weeknumbers, If any of you can solve this problem that will be a huge help. show me a way to merge weekno. and current week in the same code or column. so current week becomes default but if user selects any weekno. it shows the values as well. thanks in advance to this wonderful community.725Views0likes2Commentssort weeks by dates in the calendar
hello , im trying to create a column that sorts weeks according to dates rather than week name. ex. w1 2022 would be : january1-2022 till january7-2022 w2 would be be january8-2022 till january14-2022 w3 woud be january15-2022 till january21-2022 where W1 should always be first 7 days of the begining of the year i was trying to use weeknum function but its sorting weeks according to weekdays from Sunday till SaturdaySolved1.4KViews0likes3CommentsDax measures for last week and this week day by day cumulative
Hi! I'm trying my best to calculate two dax measures. 1. Calculates the cumulative total for each full day throughout the current week 2. Calculate the above for the same part of the week eg, if it is Tuesday then it will be figures from Monday of the previous week only. Any help would be great.819Views0likes2Comments