# Query

Query is used to build the relationship between the Maps and the Data Modelling. Designers can create the Query Task in three different Modes like Standard, User Selection (Full) and User Selection (Compact).&#x20;

To get started with creating a **Query Task** open an **Excel** and click **Start** from **Valorx Fusion Ribbon**.

<div align="left"><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FY1Sr0XbxamKAUV8BSFL8%2FApp%20store.png?alt=media&#x26;token=77ab2544-646e-41cb-897e-54fae110c593" alt="" width="563"></div>

Now, open an app from **Connections List** in **Design Studio**, and click on **Task** and select **New Query**.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2Fq2egwUEcLzA3l5wW4ENl%2FFusion%20Docs%20Update%20as%20per%20V15%20-%2026.png?alt=media\&token=18c4f1e1-8cd7-493a-a6a1-ee5aa977d251)

A Query Task pane will open which will have three different selection types like Standard, User Selection (Full) and User Selection (Compact). Click on **Add Filter** and once the filters are added click **Save**.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FyKnmyH3a53XWn7keI0vM%2FQuery%201.png?alt=media\&token=f9ad7efa-c144-498e-b064-23c69f74553c)

**Standard** : Designers can add this standard query task when Users need not perform or select any action in Runtime. Standard Query Task happens in the background without needing Runtime users to perform any actions.&#x20;

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFqFFf4143HS0_Wagnz%2F-MGMFzuafvexxmmw61dk%2F-MGMVWOOi3SBoX0wsZsH%2Fimage.png?alt=media\&token=d5be7d4e-3baf-40d3-a72c-744d57b4681d)

**User Selection (Full)** : This Query task will displays a list of records for the users to filter and choose.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFqFFf4143HS0_Wagnz%2F-MGMFzuafvexxmmw61dk%2F-MGMVc_magvmlosmCmLY%2Fimage.png?alt=media\&token=ce4877de-1b8a-4260-b523-94a9bba29799)

**User Selection (Compact)** : User Selection (Compact) allows users to configure the filters, but they can't choose the records that are retrieved. All records that matches the filters will be retrieved.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFqFFf4143HS0_Wagnz%2F-MGMFzuafvexxmmw61dk%2F-MGMVg4mtxvGSd0K8MsH%2Fimage.png?alt=media\&token=434d406f-c535-4346-9063-5188a3ba3ef3)
