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
lavanyak
Frequent Visitor

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
v-shex-msft
Community Support
Community Support

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

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.