Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Tryign to do a basic week start date from staurday and end at friday.
I was using this but its not giving the right result.
Any suggestions?
Solved! Go to Solution.
Hi @eshanpacheriwal ,
Please try:
Start of week saturday to friday =
var _a = WEEKDAY([Date],2)
return IF(_a<=5,[Date]-_a-1,[Date]-_a+6)
Output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @eshanpacheriwal ,
Please try:
Start of week saturday to friday =
var _a = WEEKDAY([Date],2)
return IF(_a<=5,[Date]-_a-1,[Date]-_a+6)
Output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Can you provide some prints of the table whit wrong results?
User | Count |
---|---|
89 | |
72 | |
69 | |
65 | |
57 |
User | Count |
---|---|
96 | |
92 | |
91 | |
75 | |
69 |