Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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) - 2Week 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) - 2Week 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! | |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 34 | |
| 33 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 65 | |
| 44 | |
| 30 | |
| 29 |