WaterSight - Pulling GIS data from WaterSight into PowerBI


Product(s): WaterSight
Version(s): 10.00.
Area: Documentation

Overview

Power BI is an interactive data visualization software product developed by Microsoft, focusing primarily on business intelligence. It is part of the Microsoft Power Platform. The existing dashboards of WaterSight can be extended with custom Power BI dashboards to achieve utility-specific insights. More information about licencing and how to create and publish PowerBI reports can be found in this article: Creating and Publishing PowerBI reports

The goal of this article is to detail with one example how GIS data that is available in WaterSight can be fetched and used for the purpose of building reports in PowerBI. 

Pulling GIS data into PowerBI

A close up of a messageDescription automatically generated

A screenshot of a computerDescription automatically generated

A new Query is loaded in the left panel (Invoked Function)

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

A screenshot of a computer programDescription automatically generated

A screenshot of a computerDescription automatically generated

At this time you have a query organized into 3 columns: Attribute, Value and Index. The Index field helps you to understand from which shapefile element the information belongs to. The rows within the red rectangle in the picture above are attributes and values for the very first Element of the GIS layer.

From here the next steps will transpose the table in a way to get a final table with columns with values for each attribute.

 

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

It will create a new Query in the left panel.

A screenshot of a computerDescription automatically generated

It expands the columns.

A screenshot of a spreadsheetDescription automatically generated

A screen shot of a computerDescription automatically generated

The “Extra Tables” created have the Index field in common, and it will be used to Merge them together. The name of the colunms needs to be changed before hand to keep the information well organized. At this moment all tables has the values stored in colunms labeled as “Value.Value”. Next you will rename the “Value.Value” column using the appropriate name accordingle to the information stored: Diameter, Length, ID, etc.

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

With the Value Column relabeled for each “Extra Table”, you can proceed with the Merging Procedure.

A screenshot of a computerDescription automatically generated

It creates a New Query in the Left Panel. The Second Table appears initially with a grouped cell (ID column in the Picture below):

A screenshot of a computerDescription automatically generated

In the Next steps you will Merge the rest of the Extra Tables into the Table created by the Merge tool.

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

Finally, we can Expand each column from the Extra Tables. Each group should have 3 attributes (Index, Value and Attribute)

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

A screenshot of a computerDescription automatically generated

As a result you have an organized table with similar organization as seen in GIS platforms.

 

See Also

Creating and Publishing PowerBI reports

Automatically update of PowerBI reports into WaterSight

Accessing PowerBI reports in WaterSight

PowerBI Administration

OpenFlows WaterSight TechNotes and FAQ's

 WaterSight - Learning Resources Guide