Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
BookingDate | bookingweek |
1/13/2018 0:00 | 2 |
1/13/2018 0:00 | 2 |
1/13/2018 0:00 | 2 |
1/13/2018 0:00 | 2 |
1/13/2018 0:00 | 4 |
1/13/2018 0:00 | 2 |
Any help is much appreciated!
Solved! Go to 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
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.