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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |