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! Learn more
HI,
I am trying to use SQL statement for one of my visuals. I want to create week start date from week no and date. I am posting my query please check where is the problem. it is showing wrong results.
as you see in the date column, the day is 31 jan and week 4 and the start date should be 25 January. but it is not showing the correct results.
please help in this regard. thank you.
@Greg_Deckler @amitchandak @Fowmy @Jihwan_Kim
@Anonymous , Try like
Week to Date = var _st = date([year],1,1)
var _week = [week]
Return _st+((_week-1)*7) -WEEKDAY(_st,2)+1
discussed in
https://amitchandak.medium.com/power-bi-wtd-questions-time-intelligence-4-5-98c30fab69d3
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 82 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |