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.
Hi,
In Power Query, I have a Start Date Query, which is being calculated dynamically in the text format. Example: 01/06/2020
and I have this code:
Source = {Number.From(#date(Number.FromText(Text.End(#"Start Date",4)),1,1))..Number.From(#date(Number.FromText(Text.End(#"End Date",4)),12,31))}
I want to use Start Date Query as an input in the code above (replacing 'Start Date' and 'End Date').
Is it possible to do it in the Power Query code above please?
Thank you.
Solved! Go to Solution.
Managed to find a solution:
Source = {Number.From(Date.FromText(#"Start Date"))..Number.From(Date.FromText(#"End Date"))}
Managed to find a solution:
Source = {Number.From(Date.FromText(#"Start Date"))..Number.From(Date.FromText(#"End Date"))}