Attribute data
Make a table without geometry available for dashboards: import it, choose its columns and limit its rows.
Attribute data is a table or a view from your database that has no geometry: sales figures, inspection results, a list of customers. In M.App Enterprise it is used in dashboards, for charts, tables and key figures. Desktop apps and mobile apps do not use it.
You manage attribute data in Studio under Content → Attribute Data. The tutorial Importing attribute data in Dashboard shows the way from the import to the finished chart. This page describes the Studio side in full.
Import a table
- Click
New. - Choose the
Connectionto the database, or create one on the spot. See Connections. - The table below lists the tables and views of the database. Enter a
Namefor each one you want to import. The name is what you select later in the dashboard. It must be unique among all data of the tenant, vector data included. - Save.
You can import several tables at once: every row with a name becomes one entry.
After the import, open the entry and choose its columns. A fresh import offers no columns to a dashboard, except the key column if the table has one. Until you have chosen columns, the entry does not appear in the list of data sources of a dashboard.
Choose columns, key and filter
Open the entry with Edit. Name, connection and table are shown but cannot be changed. To use another table, import it as a new entry.
| Field | Meaning |
|---|---|
Filter | Limits the rows. Enter a condition as you would write it after WHERE in SQL, for example YEAR = 2026 AND STATUS = 'open'. Studio does not check the condition. A mistake only shows when a dashboard loads the data. |
Key Field | The column that identifies a row. It is filled in for you if the table has a primary key of one column. Optional. |
| Table of columns | Tick the columns that dashboards may use. At least one is required. The table shows the name and the type of each column. |
Only the columns you tick are passed to a dashboard. Leave out what is not needed there: it keeps the dashboard fast and does not expose more data than necessary.
The form reads the columns from your database when it opens, so the connection has to work.
Use it in a dashboard
In the dataset configuration of a dashboard choose M.App Enterprise as the source and Attribute Data as the mode, then pick the entry by its name. See Dataset configuration in Dashboard.
The dashboard reads the rows from your database each time it loads. There is no cache to rebuild.
Good to know
- Deleting the connection deletes the attribute data that uses it. Dashboards that were built on it lose their source. See Connections.
- Deleting an entry is not checked either. Studio does not tell you whether a dashboard still uses it.
- The filter is part of the query. It runs with the database user of the connection. Use a database user with read access only.
- All rows that pass the filter are loaded. For a large table, limit the rows with the filter or import a view that already sums up the data.
- Attribute data can carry a copyright note like other data. See Copyrights.