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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi, Good day
I dont understand why WEEKNUM Function is not working (but is also working) in the same table in DirectQuery Mode?
WEEKNUM Function working perfectly
WEEKNUM Function not working
Both WEEKNUM Functions exist in same table
Thanks
Solved! Go to Solution.
Hi @SheldonEdwards,
Based on my research test, it seems to be that WEEKNUM function won't work with return_type 2 with Direct Query mode currently. It works fine with retrun_type 1, and 21.
Week = WEEKNUM(Date[Date],1)
Week = WEEKNUM(Date[Date],21)
In addition, here is a similar thread for your reference.
Regards
Hi @SheldonEdwards,
Based on my research test, it seems to be that WEEKNUM function won't work with return_type 2 with Direct Query mode currently. It works fine with retrun_type 1, and 21.
Week = WEEKNUM(Date[Date],1)
Week = WEEKNUM(Date[Date],21)
In addition, here is a similar thread for your reference.
Regards
User | Count |
---|---|
97 | |
73 | |
69 | |
43 | |
23 |