Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi! I badly need your help. I need help fixing my report table that need a week sequence that begins with monday. I alread try a lot of ways how to do it but still there an error in the output. I think the problem is between the data I used and week sequence number.
I have screenshot here. Please, I hope you guys can help me. Thank you!
Hi @Anonymous ,
First make sure your date column has the correct data type, and then you can use the "WEEKDAY" function to return the number of the week.
weekdayNum = WEEKDAY('ReportTable'[Updated],2)
You can also use the "SWITCH" function to create a calculated column of weekday names.
weekdayName = SWITCH(ReportTable[weekdayNum], 1, "Mon", 2, "Tue", 3, "Wed", 4, "Thu"
, 5, "Fri", 6, "Sat", 7, "Sun" , "Unknown number" )
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey @Anonymous ,
I'm not sure if I really understand what you are looking for, but maybe my answer in this post will help: https://community.powerbi.com/t5/Desktop/Week-commencing-in-DAX/m-p/241304#M107084
Regards,
Tom
Hi Tom! I'm sorry, I don't really explain the point about the problem I'm facing. By the way I've tried the solution you raised but its just that it's not what I'm looking for but thank you for the effort. I'll raise another problem in detail by detail. Thank you! 🙂
User | Count |
---|---|
117 | |
75 | |
62 | |
50 | |
44 |
User | Count |
---|---|
174 | |
125 | |
60 | |
60 | |
57 |