# \#power-query

**URL:** https://community.cdata.com/tag/power-query/304.md

[Latest](https://community.cdata.com/latest.md) · [Categories](https://community.cdata.com/categories.md) · [Tags](https://community.cdata.com/tags.md)

---

## [Using parameters in the SQL Statements via Power Query in Excel](https://community.cdata.com/t/using-parameters-in-the-sql-statements-via-power-query-in-excel/460)

<div class="topic-metadata">

**Author:** [@Ilia\_N](https://community.cdata.com/u/Ilia_N)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 3:11pm UTC](https://community.cdata.com/t/using-parameters-in-the-sql-statements-via-power-query-in-excel/460 "2023-10-16T15:11:29Z")

</div>

In certain situations, you may find the need to run a SQL Statement with conditions, like a StartDate and EndDate, and import the resulting data into Excel. Additionally, taking it a step further, reading input parameter…
