Home Business Intelligence Azure SQL Information Warehouse and Energy BI

Azure SQL Information Warehouse and Energy BI

0
Azure SQL Information Warehouse and Energy BI

[ad_1]

Azure SQL Data Warehouse and Power BI

Unquestionably cloud computing goes to vary the way forward for knowledge analytics and knowledge visualisation very considerably. Microsoft Azure SQL Information Warehouse not too long ago launched for public preview. Combining Energy BI as a strong knowledge visualisation software with Azure SQL Information Warehouse will give the customers the flexibility to see knowledge insights of their knowledge saved in Azure Information Warehouse very simply. On this put up I clarify learn how to set up Azure SQL Information Warehouse and the the way in which it really works with Energy BI. Earlier than going any additional I’d like to take a look on the Azure SQL Information Warehouse very briefly.

Based mostly on Microsoft documentation a SQL Information Warehouse is

Azure SQL Information Warehouse is an enterprise-class distributed database able to processing petabyte volumes of relational and non-relational knowledge.

Azure SQL Information Warehouse helps saved procedures, user-defined features, indexes and collations. It makes use of columnstore index know-how which considerably improves question efficiency in addition to getting you as much as 5 occasions compression in evaluate with conventional row primarily based indexing.

I depart it to you study extra about Azure SQL Information Warehouse. However, it is very important needless to say there are some options like main keys and international keys which might be NOT supported in Azure SQL Information Warehouse which have an effect on the way in which we use Energy BI as a knowledge visualisation software over Azure SQL Information Warehouse. With out main keys and international keys there is no such thing as a bodily relationships between the tables so Energy BI service can not detect any relationships by itself. There’s a workaround for this that we are able to create some SQL views in Azure facet to make it work. This may be an costly resolution. The opposite manner is to load the information warehouse right into a Energy BI Desktop mannequin which might detect the relationships routinely.

Now you realize a bit bout Azure SQL Information Warehouse let’s get again to the topic and speak extra about Energy BI and Azure SQL Information Warehouse.

First issues first. You’ll want to have a Microsoft Azure subscription. In the event you don’t have already got it you should utilize it for a one month trial right here. You’ll additionally get $250 credit score. However, keep in mind that in the event you succeed the $250 in lower than a month then you definately’ll must pay for it if you wish to use it longer.

After you get your Azure subscription, login to your account and you must see a dashboard like this

Install Azure SQL Data Warehouse

I’m not going to elucidate the above dashboard as it’s out of scope of this text.

Install Azure SQL Data Warehouse 01

Install Azure SQL Data Warehouse 02

Notice: Lager Information Warehouse unit values enhance your workload efficiency with extra compute sources. Keep in mind, the bigger worth the more cash you pay. So for our experimental pattern I choose the minimal attainable worth which is “100” that can price me 0.70 USD per hour! YES, per hour.  🙂

  • Click on “Server” to configure required settings

  • Click on “Create a brand new server”

  • Enter the server title

  • Enter “Server admin login”

  • Kind in a password

  • Verify the password

  • Choose “Location”. The default is “East US 2”

Install Azure SQL Data Warehouse 03

Install Azure SQL Data Warehouse 05

Install Azure SQL Data Warehouse 06

Install Azure SQL Data Warehouse 07

  • Click on “Useful resource Group”

  • Click on “Create a brand new useful resource group”

  • Kind a reputation to your new useful resource group then click on OK

Install Azure SQL Data Warehouse 08

Install Azure SQL Data Warehouse 09

Install Azure SQL Data Warehouse 10

Now we efficiently created a brand new Azure SQL Information Warehouse.

Install Azure SQL Data Warehouse 11

However, we aren’t completed but. We nonetheless must configure firewall settings to have the ability to connect with the information warehouse from an utility like Energy BI Desktop, Excel and so forth.

Azure SQL Information Warehouse Service Firewall Settings

Azure SQL Data Warehouse Firewall Settings

Azure SQL Data Warehouse Firewall Settings 01

      1. Click on “Add shopper IP”

      2. Be certain “Enable entry to Azure service” is switched to “ON”

      3. You need to see your IP tackle added to the checklist

      4. Click on “Save”

Azure SQL Data Warehouse Firewall Settings 02

Notice: You may add an IP vary as a substitute of only one IP tackle. You simply must enter a “Begin IP” and an “Finish IP” tackle then what ever units exist in that IP vary will be capable of entry the Azure SQL Information Warehouse service.

Azure SQL Data Warehouse Firewall Settings 03

To have the ability to join from a shopper utility we have to have the server title. To search out the server title you may click on on the Azure SQL Information Warehouse from the dashboard.

Azure SQL Data Warehouse

Then click on on the copy icon underneath “Server Title”.

Azure SQL Data Warehouse Server Name

In the event you don’t see your occasion of Azure SQL Information Warehouse on the dashboard:

Azure SQL Data Warehouse Server Name 01

As you would possibly already seen there’s a “Open In PowerBI” accessible on prime your occasion of Azure SQL Information Warehouse.

Azure SQL Data Warehouse and Power BI

Azure SQL Data Warehouse and Power BI 01

Azure SQL Data Warehouse and Power BI 02

Now we related our Azure SQL Information Warehouse to Energy BI efficiently.

Create a Pattern Report on Energy BI Web site

Azure SQL Data Warehouse and Power BI 03

  • Broaden “FactInternetSales”

  • Choose “Gross sales Quantity”

  • Broaden “DimProductCategory”

  • Choose “EnglishProductCategoryName”

Azure SQL Data Warehouse and Power BI 04

OOPS! It appears nasty.

Keep in mind that I discussed earlier than that Azure SQL Information Warehouse does NOT assist main keys and international keys. So Energy BI net service can not auto detect any relationships. Subsequently, it reveals the identical Gross sales Quantity for all Product Classes. Sadly, modifying relationships is NOT accessible in Energy BI Web site. So at this stage, it may not be a good suggestion to attach Energy BI Web site to an occasion of Azure SQL Information Warehouse instantly. I posted an thought so as to add the flexibility to create or edit relationships in Energy BI Web site. In the event you assume like me and want to see this characteristic sooner or later releases of Energy BI please vote for the thought. Smile

There’s workaround that you may nonetheless use the Energy BI net service instantly related to your Azure SQL Information Warehouse. You may create SQL views on Azure facet and create your visualisations on prime of the views.

Schedule Refresh

Direct connection to Azure SQL Information Warehouse makes the dataset to be all the time up-to-date. To see if that is actually the case do the next easy steps:

  • Click on open menu ellipsis button on the suitable facet of the dataset

  • As you may see it says “This dataset connects to a supply with direct join which is all the time up-to-date. You shouldn’t have to schedule a refresh on this dataset.”  so we don’t must do something because the dataset is all the time up-to-date.This dataset connects to a supply with direct join which is all the time up-to-date. You shouldn’t have to schedule a refresh on this dataset.

Azure SQL Data Warehouse and Power BI 05

I inserted some knowledge into FactInternetSales and the dataset received up to date instantly. It’s actually superior isn’t it?

Let’s proceed and see how Azure SQL Information Warehouse works with Energy BI Desktop.

Azure SQL Data Warehouse and Power BI 06

Azure SQL Data Warehouse and Power BI 07

Azure SQL Data Warehouse and Power BI 08

Azure SQL Data Warehouse and Power BI 09

Azure SQL Data Warehouse and Power BI 10

  • As you may see Energy BI Desktop detected a number of relationships routinely. However, there are nonetheless some lacking relationships. As an example no relationships detected between FactInternetSales and DimDate. Nonetheless, we’d not expertise the identical in an actual world venture. So I depart it to you to create the lacking relationships I the AdventjureWorksDW knowledge mannequin for extra experiments.

  • Click on Report view

  • Broaden FactInternetSales

  • Tick SalesAmount

  • Broaden DimProductCategory

  • Drag and drop EnglishProductCategoryName discipline into Axis

  • Broaden DimProductSubCategory

  • Drag and drop EnglishProductSubCategoryName discipline into Axis proper beneath the EnglishProductCategoryName discipline so as to add Drill down motion to the report

Azure SQL Data Warehouse and Power BI 11

We efficiently created a easy report on Energy BI Desktop on prime of Azure SQL Information Warehouse.

  • Click on Publish from the ribbon.

  • Now soar on-line and login to your Energy BI account

  • Discover the brand new report you simply revealed now. Every thing appears to be tremendous as anticipated.

Azure SQL Data Warehouse and Power BI 12

Notice: You’ll want to have a Energy BI Professional account to have the ability to use an Azure SQL Information Warehouse dataset in Energy BI service.

Schedule Refresh

On this situation we related to the Azure SQL Information Warehouse from Energy BI Desktop which implies the connection is NOT a direct connection. Subsequently, we have to configure “Schedule Refresh” on Energy BI web site.

Azure SQL Data Warehouse and Power BI 13

  • Broaden “Information Supply Credentials”

  • Click on “Edit Credentials”

  • Choose “Fundamental” from “Authentication Technique” drop down

  • Enter your legitimate Azure “Username” and “Password”

  • Click on “Signal In”

Azure SQL Data Warehouse and Power BI 14

  • Broaden “Schedule Refresh”

  • Swap “Hold your knowledge up-to-date” button to ON

  • Do your required schedule settings then click on “Apply”

  • Broaden “Featured Q&A Questions”. This can be a new characteristic added to Energy BI. What ever you kind right here might be prepared to make use of in Energy BI dashboard.

Azure SQL Data Warehouse and Power BI 15

Create a New Dashboard

Azure SQL Data Warehouse and Power BI 16

Azure SQL Data Warehouse and Power BI 17

  • Open the brand new dashboard from “Dashboards” pane

  • Click on on “Ask a query in regards to the knowledge on this dashboard”

  • The primary query can be the featured query we added earlier than

Azure SQL Data Warehouse and Power BI 18

  • Click on on the query and right here you go, your pie chart is able to use

  • You may pin it to the dashboard

Azure SQL Data Warehouse and Power BI 19

Azure SQL Data Warehouse and Power BI 20

Azure SQL Data Warehouse and Power BI 21

Now we’re completed.

To date we created a helpful dashboard in Energy BI on prime of Azure SQL Information Warehouse. We will make a number of different knowledge visualisations and studies in Energy BI Desktop and publish them to powerbi.com. Then we are able to create a number of different dashboards there.

However, is that basically it? What occurs once we wish to do an actual world venture? Okay. Let’s take a look at some realities in regards to the present model of Azure SQL Information Warehouse in mix with the present model of Energy BI. I do know that it’s a preview model, however, the next factors are legitimate for the present model:

  • As you noticed earlier than there’s a “Open In PowerBI” button accessible to instantly join an Azure SQL Information Warehouse to Energy BI Web site. However, what’s the level of getting such a characteristic when Energy BI Web site does NOT routinely detect relationships? Apart from, there is no such thing as a edit relationships characteristic accessible in Energy BI web site, so in the intervening time there is no such thing as a manner we are able to repair the difficulty with present accessible options. As I pointed earlier than, we are able to create some views on Azure facet, however, I don’t assume it’s real looking. I newly heard that supporting auto detect relationships on Energy BI web site for Azure SQL Information Warehouse is a piece in progress, however, till it’s not accessible we can not use Energy BI web site and take pleasure in Direct Connect with Azure SQL Information Warehouse. When a dataset connects to a supply with direct join we don’t should configure a schedule refresh and the dataset in Energy BI facet can be all the time up-to-date.

image

Power Q&A

Consequently, regardless of I imagine that the mixture of Azure SQL Information Warehouse and Energy BI would make an ideal resolution for enterprise degree initiatives in close to future, I believe the present variations usually are not mature sufficient to assist an actual knowledge visualisation venture on prime of an enterprise-class distributed database.

I might be blissful to have your opinions and feedback.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here