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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
joshua1990
Post Prodigy
Post Prodigy

Year Week Number

I would like to add the Year Week Number into my calendar so I can differentiate between year cross overs.

I already have a column like:

Fiscal Year = 2019

Fiscal Week = 01

 

Since the column "Fiscal Week" I need some workaround to get a whole number for YearWeek.

But how?

How would you add a combination of the year and week number as a sequential column?

A multiplication or with FORMAT?

 

 

1 ACCEPTED SOLUTION
AnkitKukreja
Super User
Super User

Hi @joshua1990 

 

I generally use 2019 * 100 + 1 that would give you 201901 ; 2019 * 100 + 2 = 201902 and so on.

 

I think this would help you achieve what you want to.

 

Thanks,

Ankit

If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.
Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904

View solution in original post

2 REPLIES 2
AnkitKukreja
Super User
Super User

Hi @joshua1990 

 

I generally use 2019 * 100 + 1 that would give you 201901 ; 2019 * 100 + 2 = 201902 and so on.

 

I think this would help you achieve what you want to.

 

Thanks,

Ankit

If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.
Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
Anonymous
Not applicable

@joshua1990 ,

 

I believe you already have a week number column.

Do you want to concatenate year and week?

 

Appreciate your kudos !! Mark this post as solution if this helps.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors