# Data model viewer

View the data structure of the data that you have added to your application in the data model viewer, and view metadata about the tables and fields.

Click Data model viewer in the application navigation menu to open the data model viewer.

Data model viewer

Data model viewer

Data model viewerData model viewer ![Data model viewer.](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Resources/Images/ui_gen_data_model_viewer_sense.png)

See:

* [Viewing and transforming the data model](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataModeling/view-data-model.htm)

* [Best practices for data modeling](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataModeling/best-practices-data-modeling.htm)

## Previewing data and viewing metadata

Click a table or a field in the table, and then click Preview to open the Preview panel.

See: [Previewing tables and fields in the data model viewer](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/DataModeling/preview-tables-fields-data-model-viewer.htm)

## Creating dimensions and measures from fields

Click Preview to open the Preview panel, select a field, and then click Add as dimension or Add as measure.

See:

* [Creating a master dimension from the data model viewer](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Dimensions/create-master-dimension-from-data-model-viewer.htm)

* [Creating a master measure from the data model viewer](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Measures/create-master-measure-data-model-viewer.htm)

Data model viewer tools

| UI item | Description |
| --- | --- |
| the Collapse icon | Collapse all tables to show the table name only. |
| the Reduce icon | Reduce the size of all tables to show the table name and all fields with associations to other tables. |
| the Expand icon | Expand all tables to show all fields. |
| the Scatter chart icon | Internal table view - the Qlik Sense data model including synthetic fields. |
| the Data model icon | Source table view - the data model of the source data tables. |
| the Grid View icon | Layout menu with the options Grid layout, Auto layout and Restore layout. |

Related learning:

* [Introduction to the data model viewer](https://help.qlik.com/lnk/Intro_Data_Model_Viewer_QS)
* [Getting started with Qlik Sense](https://help.qlik.com/lnk/Getting_started_QS)

## Learn more

* [Introduction to the data model viewer](https://help.qlik.com/lnk/Intro_Data_Model_Viewer_QS)
* [Getting started with Qlik Sense](https://help.qlik.com/lnk/Getting_started_QS)