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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
MorePowerBI
Helper II
Helper II

Question about WEEKNUM

I'm using 

WEEKNUM(TODAY(),1)-1
to obtain the week number of the previous week, but if today was the first week of the year would this formula return a 0? or will it return 52?
 
1 REPLY 1
rfigtree
Resolver III
Resolver III

Would this work.

WEEKNUM(TODAY()-7,1)

Because you will get 0 when it is week 1.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.