top of page

Link Power BI to Azure Synapse Analytics


ree


Author: Eric Rouach, Madeira Data Solutions

Date: October 2022 Pre-requisites:

· Basic/Intermediate understanding of Microsoft Azure eco-system

· Ability to create new resources in Microsoft Azure

· Basic knowledge of Power BI

· A Microsoft Azure subscription

· Power BI Desktop installed on your PC

· An existing Power BI Service (pro license) account

· An existing Power BI Service workspace


Azure Synapse Analytics is the perfect all-in-one-place service for creating, developing, integrating and visualize data. In this demo, we will focus on connecting Power BI to an instance of Azure Synapse Analytics. The steps we will follow:

· Create a Dedicated SQL Pool (former Azure Data Warehouse)

· Use/Create an instance of Azure Synapse Analytics

· Create a Power BI linked service

· Create a Power BI report

· Manage the Power BI report from Azure Synapse


Let's get started!


As usual, let's create a properly named Resource Group to gather all the services relevant to our task:


ree

Then, let's create a Dedicated* SQL Pool or in other words, a data warehouse.

*We may create a Serverless SQL Pool instead but having dedicated compute resources is enough for the purpose of this demo.


ree

In the Marketplace search bar, let's type "sql pool", hit Enter and choose the relevant service:


ree

Let's create the resource…


ree

… and choose a meaningful name for our SQL pool:


ree

As you may notice, we are using a previously created server called synapse-analytics1.


Let us remember that this is a logical server that needs to be existing so that our SQL pool will have a place to connect to. In case we do not have an existing server, we may click "Create new".


Next, Let's customize the performance level:


ree

Here we can scale the DWU (data warehouse units) according to our needs and click Apply:

ree

For the purpose of this demo, the minimum is ok.


From the Networking tab, we may customize the firewall rules to allow or deny access to the logical server.

As you may notice from the screenshot below, the yes/no options are greyed-out since they have already been configured in our previously created server and may not be modified from here.


ree

From the Additional settings tab, we may select our data source as a blank database, a backup or a sample database.

For the purpose of this demo let us choose the sample option which will populate the SQL pool with the AdventureWorksDW2014 data:


ree

Let's click Review + create:


ree

The resource deployment shall take several minutes:


ree

Once the resource is created, we may go to the newly created SQL pool's overview page:


ree

As you can see, the SQL pool is accessible from an existing Synapse Analytics workspace. In case no instance of Synapse Analytics can be linked to the SQL pool, a link to create one will appear at the overview page.

For the purpose of this demo, let's go ahead and launch Synapse Studio:


ree

Once in our Synapse workspace, from the Data section, we may see the new SQL pool and its tables:


ree

Our next goal is to connect Power BI to our Synapse workspace so that we can manage any report from it, fulfilling Synapse Analytics' very purpose:


From the Manage section, we need to create a new Power BI linked service:



ree

We may use the search bar or use the ready-made link:


ree

We will now be prompted for the name of an existing Power BI Service workspace:


ree

For this demo, let's use a workspace called "Synapse Analytics":


ree

At this point, we must publish changes in order to save the new linked service:



ree

Then, from the Develop section, we may now see the newly created Power BI workspace and create a new dataset:


ree

Selecting "New Power BI dataset" will open a new window for choosing the relevant SQL pool:


ree

Selecting a SQL pool will automatically download a .pbids file and launch Power BI Desktop to open it:


ree

We may now select the relevant tables and/or views for building our report. For the purpose of this demo, let's import the DimCustomer and DimGeography tables so we can build a simple report to visualize the count of customers broken down by country:



ree

After creating a relationship between the tables (data model), we may create a simple visualization:


ree

We now need to publish the report to our Power BI Service workspace:


ree

Now, back to the Synapse workspace, we're able to view and edit the report!


ree

From now on, any change on the report saved from within the Synapse workspace will be reflected in the Power BI Service interface and vice-versa.

Let's try to change the visual from a column chart to a map:


ree

We can see the change is being reflected in Power BI Service:


ree

---- Thank you! ----

3 Comments


rosie
Aug 25

Geometry Dash delivers an adrenaline rush like no other. With one-touch controls and electrifying beats, it combines precision jumping with rhythm-based challenges, making it one of the most popular and rewarding platform games ever.

Like

Hansen
Aug 20

Evernote has become an essential app for organizing notes, planning projects, and keeping schedules in sync across multiple devices. People love the flexibility, but some beginners find the interface overwhelming at first. Despite that, Evernote continues to be a favorite because it allows users to store everything in one place, stay organized, and easily retrieve important information whenever they need it.

Like

danisa
Aug 20

I've been trying to recreate a famous Minecraft city and with Eaglercraft it feels nostalgic and fun since the controls and look are just like the original.

Edited
Like

STAY IN TOUCH

Get New posts delivered straight to your inbox

Thank you for subscribing!

bottom of page