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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Want to create a date field which goes back 10 weeks + current/ ongoing week in Power Query M
Want to create this dynamic field but facing issue creating the field.
@Anonymous , you can create a column like
Date.AddWeeks( DateTime.Date(DateTime.LocalNow()), -10)
You can now get weekstartdate using Date.StartOfWeek
refer if needed
https://medium.com/@amitchandak/cheat-sheet-power-query-financial-year-calendar-5ceaacb520f1