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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
lavanyak
Advocate I
Advocate I

Problem with WEEKNUM function

Hello

 

Iam trying to get week number for a datetime value using WEEKNUM function in power BI Desktop.

Issue: For the same datetime value , the function is giving different results.Could someone please help me how to rectify this? 

 

Please look at the record in Red text.

BookingDatebookingweek
1/13/2018 0:002
1/13/2018 0:002
1/13/2018 0:002
1/13/2018 0:002
1/13/2018 0:004
1/13/2018 0:002

 

Any help is much appreciated!

 

1 ACCEPTED SOLUTION

Hi Xiaoxin Sheng,

Thanks for your time , I really appreciate it.

 

The issue is resolved and evrything is working fine now.I dont know what the issue was , but when I tried couple of times it came out correctly.

 

I cannot send the pbix file as well, because that has been corrected and I dont have the old data.

 

Thanks

Lavanya

 

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @lavanyak,

 

I test with same date but not face the issue, can you please share a same pbix file to test?

 

Regards,

Xiaoxin Sheng

Hi Xiaoxin Sheng,

Thanks for your time , I really appreciate it.

 

The issue is resolved and evrything is working fine now.I dont know what the issue was , but when I tried couple of times it came out correctly.

 

I cannot send the pbix file as well, because that has been corrected and I dont have the old data.

 

Thanks

Lavanya

 

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 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.

Top Solution Authors