Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Good day
I created CalendarAuto and from there created Weekstart which looks right. Currently when I select WeekStart of 28 Feb 2022, the week starts from Monday to Sunday (28 Feb - 06 March) which I don't want.
DAX for WeekStart: = 'Calendar'[Date]- WEEKDAY('Calendar'[Date],2)+1
So what I want is if my Weekstart is 28 Feb 2022, I need the week to start from 27 Feb - 05 March, meaning Sunday to Monday. How do I achieve this?
Below is the DAX for the calendar:
Solved! Go to Solution.
@Tlotly , I given here code for every week day as week start
Any Weekday Week - Start From Any day of Week
https://community.powerbi.com/t5/Community-Blog/Any-Weekday-Week-Decoding-Date-and-Calendar-2-5-Powe...
@Tlotly , I given here code for every week day as week start
Any Weekday Week - Start From Any day of Week
https://community.powerbi.com/t5/Community-Blog/Any-Weekday-Week-Decoding-Date-and-Calendar-2-5-Powe...
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |