MapThat – Reporting via Power BI

Marketing
Marketing
  • Updated

by David Crowther

MapThat Power BL 1.png

Question:

Can you link MapThat Layers to Power BI for reporting?

Answer:

Yes, … and below are some hints and tips on how to get started!

Once you have installed it, open Power BI.

MapThat Power BL 2.jpg

Choose the Get Data option.

MapThat Power BL 3.jpg

In this example as our MapThat data is in a SQL Database we will choose SQL Server database.

MapThat Power BL 4.jpg

Enter the host and database name for the MapThat SQL database.

MapThat Power BL 5.jpg

Note – here we have chosen a direct query. This will allow us to refresh the charts and tables as the data changes in the MapThat database.

Enter the Users login credentials.

MapThat Power BL 6.jpg

Note - here we have chosen a Database user, as our login utilises a SQL Database user not windows authentication.

Once connected to the database, in the Connector choose the Table or View that displays your data in MapThat.

MapThat Power BL 7.jpg

We will report against our Grounds Maintenance layer, so choose gm_polys.

MapThat Power BL 8.jpg

Choose Load and the Power BI window opens.

MapThat Power BL 9.jpg

The Table is added on the right-hand side in the Data Pane.

MapThat Power BL 10.jpg

Firstly, we will visualise the Grounds Maintenance (GM) data using a Stacked Bar Chart from the list.

MapThat Power BL 11.jpg

Choose the Stacked Bar Chart option and then draw a box in the Power BI window to place the item.

To add the data to the chart, drag the field names from the GM table into the X-axis and Y-axis fields in the Visualization pane. In this example we will view the SUM of the size_area values grouped by GM Type.

MapThat Power BL 12.jpg

Once the Chart has been added, we can now customise the chart as needed, e.g. rename the X and Y axis titles, add a Legend, and change the Title.

MapThat Power BL 13.jpg

MapThat Power BL 14.jpgUse the Visualization pane to then change the bar colours, the axis units, add values to bars, add move and update the legend etc….

MapThat Power BL 15.jpg

The Power BI report will automatically update as your data changes. For example, if a GIS user creates a new Grounds Maintenance plot e.g. adds a grasscrete polygon via QGIS.

MapThat Power BL 16.jpg

… back in Power BI if we then choose the Refresh button, the Power BI Chart(s) will auto update.

MapThat Power BL 17.jpg

MapThat Power BL 18.jpg

Note – how the grasscrete bar has now grown based on the new size_area for that GM Type.

Using the Visualisation pane, we could change the Stacked Bar Chart to be a Pie Chart…

MapThat Power BL 19.jpg

Or an Area Chart…

MapThat Power BL 20.jpg

Or even a Tree Map…

MapThat Power BL 21.jpg

.. finally, if you select an existing chart and copy it you can then paste it multiple times and edit their style, so you can create a Dashboard with multiple charts. The one below, shows

  • the GM Area by Type as a Tree Map
  • with a count per GM Type as a table below
  • a summary list to the right
  • a pie chart showing the GM ownership
  • and finally, a SUM of the total GM Area in Sq. Metres.

MapThat Power BL 22.jpg

…. Enjoy linking your MapThat Layers to Power BI and see what types of reports you can create.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.