--- title: "Named Query Data Source" --- # Named Query Data Source > ## Using the Named Query Data Source Using the Named Query datasource is simple to configure provided you already have a [Named Query](platform\sql-in-ignition\named-queries\named-queries.md) created, and works in the same way that other Named Query bindings work. The Named Query report datasource will execute the selected Named Query on the Gateway, and can use the [Report Parameters](ignition-modules\reporting\report-data\report-parameters\report-parameters.md) as its parameters. This data source supports [Nested Queries](ignition-modules/reporting/report-data/nested-queries/nested-queries.md). ![](NQWorkspace.png) ### Configuring a Named Query Data Source First select a Named Query by clicking the **Selection** ![](search-small.png) icon next to the Path field. ![](selectNQ.png) In the resulting list, select one of the configured named queries. The Named Query parameters will appear, along with a preview of the query. ![](previewNQ.png) One-by-one, **select** each parameter, and then click the **Selection** ![](search-small.png) icon next to the **Parameters** table. This provides a popup of all report parameters that are available on the report. Select a Report parameter that will provide a value to the Named Query parameter. Once every parameter has a value, check the results in the Preview Panel.