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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
kivanct
Helper I
Helper I

Next Week Number

Hi,

I am trying to reach nextweek number by adding +1, but I got Week 53.

How can i receive NEXT WEEK NUMBER ? Thanks a lot for your help.

kivanct_0-1672044612331.png



Regards 

2 ACCEPTED SOLUTIONS
ouaelaam
Resolver I
Resolver I

You can create a simple IF condition to move to week 1 when you reach week 52, like this :

NEXT WEEK = IF(
WEEKNUM (TODAY (),21) = 52, "1.",
WEEKNUM (TODAY (),21) + 1 & "."
)

View solution in original post

Thanks a lot. 

After some research i also found this formula which works too, 

NEXT WEEK = WEEKNUM TODAY ( )+ 721) & "."  
that also returns "WEEK 1", if current week is 52. 

Regards
that returns 

View solution in original post

3 REPLIES 3
ouaelaam
Resolver I
Resolver I

You can create a simple IF condition to move to week 1 when you reach week 52, like this :

NEXT WEEK = IF(
WEEKNUM (TODAY (),21) = 52, "1.",
WEEKNUM (TODAY (),21) + 1 & "."
)

Thanks a lot. 

After some research i also found this formula which works too, 

NEXT WEEK = WEEKNUM TODAY ( )+ 721) & "."  
that also returns "WEEK 1", if current week is 52. 

Regards
that returns 
TomMartens
Super User
Super User

Hey @kivanct

what is your expectation?

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.