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.
Solved! Go to Solution.
Thank you for the challenge.
= Table.AddColumn(dbo_Dates, "dateindex",
each Number.From([date]-Date.From(DateTime.LocalNow()))
)
Thank you for the challenge.
= Table.AddColumn(dbo_Dates, "dateindex",
each Number.From([date]-Date.From(DateTime.LocalNow()))
)
Just be careful with the timezone stuff, test in on the service before using it in production.