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
Hello I need your help.
how to create a custom weeknum column, starting on Thursday and ending on Wednesday; weeknum only has two criteria to start on Monday or Sunday.

Solved! Go to Solution.
Thank you, I read the context of the function and found the solution, there he explains it well; return_type 14 is the solution.

Please review the documentation from Microsoft:
https://learn.microsoft.com/en-us/dax/weeknum-function-dax
It shows you the return_types to use for your particular case.
Trust this helps.
Regards,
Thank you, I read the context of the function and found the solution, there he explains it well; return_type 14 is the solution.

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 103 | |
| 67 | |
| 65 | |
| 56 |