6 Steps to Microsoft Azure Data Analytics
I noticed the other day in the Azure blog that the Analysis Service was just released. I was interested in trying this out for a few reasons:
- Data isn’t much good without information
- This would be a good way to spend some more time with Azure, Visual Studio, SQL Server Data Tools and Power BI
Here is where Azure Analysis Service fits in with other Microsoft products both on-premise and in the cloud.
Step 1: Gather All the Parts
You will need Azure, Visual Studio, SQL Server Data Tools and Power BI. Install all components.
Step 2: Create an Analysis Service in Azure
From the Azure Portal, click + New, Intelligence + analytics, Analysis Services (preview)
Fill in the information about your analysis server
Step 3: Create a Data Source
From the Azure Portal, click + New, Databases, SQL Database
Fill in the information about your SQL database including the two required subsections.
Step 4: Create a Data Model in SQL Server Data Tools
Open SQL Server Data Tools which will open within Visual Studio.
Click File, New, Project…, Analysis Services, Analysis Services Tabular Project, OK
Click Integrated Workspace, OK
Click Model, Import from Data Source…, Microsoft SQL Azure, Next
Connect to the SQL database using the properties page of your Azure SQL database. Click Test Connection when complete.
Make sure you have opened up your firewall in Azure 🙂
If you need to open up your firewall for your SQL database, choose “Set server firewall” at the top of the properties page for your database.
Click Next and select Service Account
Choose the option to select the tables to import and click Next
Select the tables for analysis and click Finish and the tables will be imported.
Click Close. Your tables will all be imported into the cache into separate tabs.
You can also switch to Diagram View to see relationships between tables
You can even edit fields, tables or relationships in Azure from within SQL Server Data Tools
Step 5: Deploy the Data Model to Azure Analysis Service
Step 6: Query the Data Model in PowerBI
Your Azure Analysis Server fields will be listed in PowerBI for visualization