Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have the following table":

Now iI created a column to have the weeknumbers

but when i look, the numbers are matching but the numbers of the week are off. as you can see these two records are created in week 45, and not 46.
What am i missing here?

Solved! Go to Solution.
WEEKNUM has an optional return type which establishes when the week begins (day of week and week of year):
WEEKNUM ( <Date> [, <ReturnType>] )
See here for further detail:
Proud to be a Super User!
Paul on Linkedin.
Hi @TechR21 ,
This article might be helpful to you. Weeknum accepts a parameter than can change the output.
https://learn.microsoft.com/en-us/dax/weeknum-function-dax
Please consider accepting as solution if this has answered the question.
WEEKNUM has an optional return type which establishes when the week begins (day of week and week of year):
WEEKNUM ( <Date> [, <ReturnType>] )
See here for further detail:
Proud to be a Super User!
Paul on Linkedin.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 143 | |
| 123 | |
| 100 | |
| 80 | |
| 55 |