Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I want to use this function to plot a chart for weekly sales and getting this error. I dont know how I can use Power Query as suggested here or whether it is a right answer.
Can someone point me to right place?
Thank You,
Vishal
Solved! Go to Solution.
Hi @vopatel,
To return weeknum values for dates in Query Editor, we can create a custom column below:
But Please note, as it's DirectQuery mode, it's not able to apply this change after add this custom column, you can see below message when you apply query:
In your scenario, I would suggest you use T-SQL query to return weeknum values:
Best Regards,
Qiuyun Yu
Hi @vopatel,
To return weeknum values for dates in Query Editor, we can create a custom column below:
But Please note, as it's DirectQuery mode, it's not able to apply this change after add this custom column, you can see below message when you apply query:
In your scenario, I would suggest you use T-SQL query to return weeknum values:
Best Regards,
Qiuyun Yu
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 71 | |
| 50 | |
| 47 | |
| 44 |