Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Syndicate_Admin
Administrator
Administrator

custom weeknum

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.

MONTENEGRO_0-1663360302612.png

1 ACCEPTED 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.

MONTENEGRO_0-1664288764554.png

View solution in original post

2 REPLIES 2
rsbin
Community Champion
Community Champion

@Syndicate_Admin ,

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.

MONTENEGRO_0-1664288764554.png

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.