Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dears,
Kindly note, I am a new user of Power BI. Learing through online videos.
I need help related to week number.
For my report, week starts on Saturday.
I was trying using "weeknum" function but I am unable to get desired result.
I need to display "Week Number" and accordingly week start and end dates on BI report.
Kindly advise.
Thanks & Regards.
Solved! Go to Solution.
Hi @mukeshved80 - Hope you have a date table created at your end, if Not,
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
Hi @mukeshved80
Thanks for the reply from @rajendraongole1 . Here I have another idea in mind, and I would like to share it for reference.
My sample:
Create several calculated columns as follow
WeekNum = WEEKNUM([Date], 16)
Week Start Date = [Date] - WEEKDAY([Date], 3) - 2
Week End Date = [Week Start Date] + 6
Output:
For a detailed description of the formulas used, see the following documentation:
WEEKNUM function (DAX) - DAX | Microsoft Learn
WEEKDAY function (DAX) - DAX | Microsoft Learn
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mukeshved80
Thanks for the reply from @rajendraongole1 . Here I have another idea in mind, and I would like to share it for reference.
My sample:
Create several calculated columns as follow
WeekNum = WEEKNUM([Date], 16)
Week Start Date = [Date] - WEEKDAY([Date], 3) - 2
Week End Date = [Week Start Date] + 6
Output:
For a detailed description of the formulas used, see the following documentation:
WEEKNUM function (DAX) - DAX | Microsoft Learn
WEEKDAY function (DAX) - DAX | Microsoft Learn
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mukeshved80 - Hope you have a date table created at your end, if Not,
Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Proud to be a Super User! | |
User | Count |
---|---|
77 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |