Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
For the calendar table in my project, I have been doing this in different queries.
= List.Min(#"Extracted Time"[Date])
= Date.AddDays(List.Max(#"Extracted Time"[Date]),1)
= {Number.From(#"MinDate")..Number.From(#"MaxDate")}
Is there a way to get the Calendar ranging from Min to Max using a single query?
Solved! Go to Solution.
= List.Generate(() => MinDate, each _ <= MaxDate, each Date.AddDays(_, 1))
= List.Generate(() => MinDate, each _ <= MaxDate, each Date.AddDays(_, 1))
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.