Share via


BI Step-by-step: Excel 2013, Azure SQL and O365

Introduction

As per the title, in this article the magic of Business Intelligence with the combined forces of Excel 2013 + Azure SQL + O365 SharePoint Online will be demonstrated using a step-by-step walkthrough.

Requirements

• Excel 2013 Professional's Power Query and Power Map add-in

• Microsoft Power BI for Office 365

• SQL Azure database

• A laptop or desktop whose graphics card supports DirectX 10.

Setting the Scene

We have a company named Adventure Works whose database is on SQL Azure.  This database contains information such as employee, vendor and customer addresses, product description etc. In Excel 2013 we are going to create data connections to these SQL databases and then post them on SharePoint Online. For more information on SharePoint Online integration with Azure SQL you can refer to my article Office 365 SharePoint Online BCS with Azure SQL Server Database

Making the data connection

Open your Excel 2013 and select a Blank workbook:

https://qmptoq.dm2301.livefilestore.com/y2ptyk-HDmD5labt2FEA8M9RPDcPAQ5nSAp3f4MKPYyrKU10iMGCt8F9O9jGHvEFXEPlrhgjLnNdN-A2sfn-gX12A13y6pS1xbN3HfSRMeF4CiQRquNMdPaD27n2Fr6CCs96Ym20e0LKwfbZiz0CgjVoQ/Capture1.PNG?psid=1

Go to the DATA ribbon as shown below:

https://qmptoq.dm2301.livefilestore.com/y2pB7JEfrNijrGsapyq8Oqcz4YqJErlzceHIkOLmUcxfTZLurOzWhvGaES0Pzl0JsyErF2gfCQ4jJxyw0YUlgLwPpKG7VvIl4wObjxCizSFMoi6Q8YBa7PYiNalbQhcS5YnrkDztYYGgtOZJ8ekqWJUIA/Capture7.PNG?psid=1

In Get External Data section click on the From Other Sources option and then select From SQL Server. Below is a screenshot:

https://qmptoq.dm2301.livefilestore.com/y2pvgJSs-2iZ1LjmoJpGj_h7hou-dAG62ClEZUcuqEAs_lK9OpQsw0e84iluMHBRetInCoJMm9INHU_R9jbH201GQy_G5gZoaGC9RoRBb1Z65ulIVpYxswBX46yN69wWj8qpE4Y2KLaqQj6C2DDJPrfHA/Capture8.PNG?psid=1

In the server name section type in your Azure SQL server name. In the log on credentials section select the second option and type in your username and password. This is the same username and password you use to log into your Azure SQL database using SQL Server Management Studio. Click Next. Below is a screenshot:

 

https://qmptoq.dm2301.livefilestore.com/y2pvAOrkSmPaJuZo-cnZnRFrHdKNAP4gZM1JILQQLL8zRTMIecalDH-1QcI6WDoRi5TKdHbhlbC8pFAd4hOaHjfdF5w1bO_Ek7-7MdoMzIb9tqcJFZ7VygnxWOIeVSQGIxRYXhyneBsS8B42LcAZZXz0A/Capture9.PNG?psid=1

If the server name is correct and if your username and password is correct then you should see the option to select your database name as shown below. In this scenario 'AdventureWorks2012' is selected:

https://qmptoq.dm2301.livefilestore.com/y2pbzshQQUXQf0gleqjNCW-z4OLPYSV5UFKCEs0Lng6Lwpx3KVBigHyMg4A6uSoQseZpL654r_LsH6ebDEUBAYhhU6Yjq7rR7mQm8r57oYuju-nKl2yzoSH6f5l6kVFol3TtuZglSpOOVqLI3ftsgkjzQ/Capture10.PNG?psid=1

By default Connect to a specific table option is selected, however, you also have the option to either connect to all the tables and views or connect to a specific table or to multiple tables. In this scenario I have unchecked the connect to a specific table and clicked next.

https://qmptoq.dm2301.livefilestore.com/y2paYU5eUI_pL4AVZvFFaM7NZc7_HsJTkS-IhFMWbeekNvwq1ugk0dAnvZqv8KT9IlPjAZoEyjjohMTOHW5tg2ugl5nSZALMRSGVxCV_pxyAapuAS5GQiAhBtpcfBwc5doU_GtrNyu0YzNHKcA5ghWg0Q/Image1.png?psid=1

You have the option to change the file name and provide a friendly name as well. In this scenario the default names are left as it is. 

Click Finish.

https://qmptoq.dm2301.livefilestore.com/y2p7UD39mRN0imBB5Ba2-ch-fFd7MVPbbs5GueKAQYiCBzi-2ZqBZfOPmsNKfDzlA9J0y_ObxbDDuZxYkLZRx_NWZ31bm986ioY5rLmtIc_3z9v6XYfbnK0eKFiAYE_bG834rkmAKe5FRKZSstWi4Tr9A/Capture11.png?psid=1

Since we have not setup and custom authentication settings above, you will see the below SQL Server Login window for the password as shown below. 

https://qmptoq.dm2301.livefilestore.com/y2p_tHUZyFQXlpovb5W1euUtld3xJc9XoyLFgv5pj4YBzw8vqVeh3-cesRp_8y5x2Wmus4l_fDEc52sBfcEATrIE0vk9RMwtR9WuXoJyR77HpaImb2L0gJnL6G1Da4ZMiFGMWUYSPoHbbS8u66lADnhYA/Capture12.png?psid=1

As shown below you can now select multiple tables. These tables include type views and tables. You also have the option to import the relationships between selected tables.

https://qmptoq.dm2301.livefilestore.com/y2p2G6MKOAftc93wZxE1TQYK8jcxUrPBPiUWKmTJHJBYhW-ucla_4skA5IBiveOxUM7pkJOXTGKVIJFQM7kEedF8R_E1ypLpEi2S9zvY7qS59RyvkewTunwwY0yo2K8YDqGU8sdKSTE-MpPDhgP5MokeA/Capture13.PNG?psid=1

In Import Data you have four different options to select from, in this scenario Table view has been selected.

https://qmptoq.dm2301.livefilestore.com/y2p6YY_AlOnEphsLss5zmh7XGqag4z8XECa7Ie8EG8-unI90Dz5bs65pqxsTFjNhnjCoMtt9jSWkTVtW-G_XeAXWYW51LkiZZNeE0csvvcqLNJ3AuB0vCW7MSy5V-TfQ6e4D2muGtNjd8TxYX0BIDHiDQ/Capture14.PNG?psid=1

 The data connections load time is dependent on the number of tables or views, size of the database, your internet speed and your desktop's performance. While the connection is being made you will see the below.

https://qmptoq.dm2301.livefilestore.com/y2p1rgRiYgkGl43n0Z4S5O9gmBO_bN6oguDFcyBog14Frwz9Sz1LX0jdZZaqfONvLH79KIyhccmCND_R-NmEXtBnDFgcdMK3E7RheIAuF0Cnzq3JKZRZ0QR6PXy6sSdRSQ98jgYdyiZSRV7MUx1NFN2bg/Capture15.PNG?psid=1

Once the connection is made you will see new worksheets. Since I selected four different tables/views in the data connection, I have four new worksheets as shown below.

https://qmptoq.dm2301.livefilestore.com/y2p_3lwld6Ad8pxi1_fxi1-xwj8E7pjFEQvid_c5QajCwOxZ9z05xx3Iasyp6S77KgLrEjHtblVK08qEn8r1PE07y1gDbpOcBBs9Y9dhHXqDhzUDVzVLjFdT6AuDCqzhHdFP12elEf4x7dacIpu3aMUdw/Capture16.PNG?psid=1

Change the name of the worksheet to signify the data. You can always go back to Data click on Connections, select the connection and click on properties to view the table and view names. 

https://qmptoq.dm2301.livefilestore.com/y2pK3uPdNzIKOxn77hrVSAgn1qiXTGnOTBFfiIdFrnZh0YWydAXG3oFdD9qr0I3a2ssLR7FltH0AIjj6NWJfxpjCHZqwF3HcT1LKI7RTw5qjOtqVb87yxP4A-duTReTkQkDPWE4qROQwuR0izuhmosIPQ/Capture17.PNG?psid=1

This is a good time to save the worksheet.

Building the Pivot Chart

Select the Employee worksheet and then click on the INSERT ribbon. 

https://qmptoq.dm2301.livefilestore.com/y2pd3LLHOrmdPLZli6VYyojQQLMrfjre9-ytZHzUwpFCiCX4oBi_A0XaorS2KxCYCIPtexf9HtS0lY8u7f6t6Z7gk1LeLyHnoXvlMhWJmfaoDd1bf4Y0toafuf-ngaQuAMYXj3uCfj_sbx8c3sfYxDO0g/Image2.png?psid=1

Click on the Pivot Chart, by default you will see the Employee worksheet has been selected. Click OK.

https://qmptoq.dm2301.livefilestore.com/y2pCkznxAdb15FJ_081VXinR1_1lTmebmKznlCpML1JZcSgLxHkW1j6BH0z_NHpnYmgsmIgThjVZUJjF7DViEBC4klu5uf4P22WSOPe_DM97-jVUb2nDtvT5eyltxJmk-ARF4EaGnPIwx9CDqjccFlteA/Capture19.PNG?psid=1

You will now presented with a blank pivot table, chart and the fields available.

https://qmptoq.dm2301.livefilestore.com/y2p_Zjj9-tbBtWkM2yCDwXgTXNrDSpIYBs9rK3vX_STwLBkzKcFUjucaIZhwl84vZ9MKxF6vtpyuhBJJylPW-21p2LtIqQ4C69K8EetKIIA1G30MMemUuexcPoTuRHQBE88cUUhtrb5R5GPBal2lIin7g/Capture20.PNG?psid=1

 In this scenario the job title name and count is going to be displayed in the pivot table and the chart. In the PivotChart fields, select the JobTitle. By default it will be populated in the AXIS area. You have to manually drag and drop the JobTitle field into the VALUES area. Click in the drop-down arrow near the JobTile field in AXIS and select Field Settings as shown below

https://qmptoq.dm2301.livefilestore.com/y2pvWSFeR8nBnZtIzmZEhAhOC7QAqlDCrdV0SMbCnVN8hMoVE7cQLKCw49Pns5ht3fi6BDZhnISKyhi92yu3oEm2chSFM4qWRC5HtNFkoINdb5DC7xH1qXz1HoT_nr4ZgWmPEJJIX8qedvBxEC4f22nfg/Capture21.PNG?psid=1

As shown below, select Custom and then choose the Count function

https://qmptoq.dm2301.livefilestore.com/y2puqBmAOCQSGtEz0_LfLnLvOr4i6wm2gjrtGbV8FpeLnhSDKlOpPa1Bu_iweGJZ7vWUQLaiGmbm7jPTxe7y_pgzIXjPjm6eDSRGV7g1vUw09Q7G33bEfK5BTBrzV4Lcx4h6xCRkqL0LrUb85rknK9nvA/Capture21a.PNG?psid=1

Below is what you should see

https://qmptoq.dm2301.livefilestore.com/y2p5SNpGEIKWLckUflCNFNTFgX8kBEQ_-R9ZwGbvc09_jImuEl4CLLsJCh659a7lcs5y3QtqvB0WhITZxwP0qJKfITvYW3Z58JgWKed84SrZJNYcWMoPeki843sZ6ymBhgX0twKToCLaIJMUCBMdboCRg/Capture21b.PNG?psid=1

You have the option to go to the Design ribbon and change the look and feel of the chart's style.

https://qmptoq.dm2301.livefilestore.com/y2pP4PVZRsDj_TL9lmib4T8SSi1DHOuWRts_hafuhaGi7f2_vhiXfVospJxYxPrMdymhEuwwj0lL5Vq4FUxDdYHhZ18j8CPqwM0qvNIWSmD9sUddTkNwWtItRjaM-uPnnDputdkMHDE9JIQaYFmZZ1z6A/Capture21c.PNG?psid=1

Building the Power View

Select the StoreAddress worksheet then go to the INSERT ribbon and click on Power View. If this is your first time using this feature then you will receive the below alert. Simply click on Enable. If you do not have Silverlight installed then you will be asked to install that as well.

https://qmptoq.dm2301.livefilestore.com/y2pSDi-B9ytuySD6vsPlVVpWJLtPCgz9GQ7rOp0xWpJ3dL36vlQlt-LFa5GBVNsed7UwJk8V60RbX8fXYL8M1Dm5GteXcZHlDpBQlRLJnwe05zj_dF2Cl2az3mY5vUBMfHp7ng2MFd9xf9hzdasC2aMZQ/Capture22.PNG?psid=1

https://qmptoq.dm2301.livefilestore.com/y2pXCuJIfwLRKrrtHctDJDmkgMbINYLnkg7bcOIahmBj7fexjujfoSgtZiVyUvW0l33TLBCYA-ry_lbeMl9Sj3aI_C-Z_mcvpNOpheupSdIwEOGlar8FFLBtaUPlVsiEqTHKWNm5D1b0I5Wb_pBatqKpA/Image3.png?psid=1

The Power View gives a Power Point type look and feel, however, it does have some neat features you can use. In this scenario we are going to view the Map and the Tiles features.

Map

We would like to see the names, address types for all the country regions. From the Power View Fields on the right, click on the AddressType field and drag and drop it in the Filters. Do the same for the CountryRegionName and Name fields. Below is what you should see

 

https://qmptoq.dm2301.livefilestore.com/y2pWAi5ilcReC_zG50ZO5opdnXyknf3GokeB1GjBuyRuHQ2IM_J9m6q2Rsu5lh-h-yFtJ-cc1Gw9egjY2HpBFMbd3gfVkxK79x855DprjcSwDwFyzifAMvtvFEF61gsBrP43qGOrxtYKTvejNH5g9sX5A/Capture23.PNG?psid=1

On the top left of the ribbon, click on the drop down option for Table and select Matrix

https://qmptoq.dm2301.livefilestore.com/y2pipCibgyP1oSw6_j36FqaI4_f1rOCOMEg2WbEetrizpNOyXQv74TjYVGdd3K3g5LoDFwQ5dJZnA0meflSPrG3lHfXRU5GIF-n56-TceUUxZRrkw4MYjqkhGHzuIPXDYAid5e5LY5BQNnEXIScpRJjpg/Capture24.PNG?psid=1

Click on any blank spot on the window. This will clear all the selected fields in the Power View section. As you can see in the below screenshot the blank area highlighted by the yellow 'X' is where we clicked. As you can see the Power View fields have been deselected

https://qmptoq.dm2301.livefilestore.com/y2pGJZA3abZ4VnaofEN5_86aKadvE727DzFvwoS0YtfeUX1bIRVWA5AZA4YrrEMH9z1HtgDNpAohYUxKRHHw8ixzZ1HgSjByBCGllTrljNSdpKOgV3q2efVSDfJdAx6gAraCdr2pvC4msn7iS4HdRWHeA/Capture25b.PNG?psid=1

Now select CountryRegionName field and then click on Map. Below is what you will see. You will notice the maps have several icons which mark the countries. If you click on any one of those, the table on the left will automatically filter. In the below example the icon on Canada has been clicked and hence the table filters only those names that are located in Canada.

https://qmptoq.dm2301.livefilestore.com/y2pZVEgGdnPeTmxQ_J_9DWvfvhHY1BqmZjDcf8EiQgMzOAnUJo8hr3-P9d_pNqljr727tX3t_E-9AK5gsOwG-Q5-RtwEwsuIAvQ7WNghFeaIXbcIBBGAb7JxWr8V9jO_Dk6wUCPT7D2lY9XUwdkdWx-7w/Capture25c.PNG?psid=1

Tile Type

Create another Power View as described above and select the fields shown below

https://qmptoq.dm2301.livefilestore.com/y2pFZCS2y09XLz650PQL3OAbEZg2FrygSb9dmFyR2ltFSIoW6pvyGzrz7iJmAL4CswtLHKeze3YkN8g46df0p4QZHuEauv1Oqd34O_qdHqcPlmrLGh257WJT4xw0O74K33RzALc0odPdGd73HrDiMlWmA/Capture26a.PNG?psid=1

As shown above, the TILE by area is blank. Select the CountryRegionName field below and drag and drop it in the TILE by area. Now you should see a horizontal tile with the country names. Clicking on any one of the countries will filter the table below. 

https://qmptoq.dm2301.livefilestore.com/y2ptrmCGzyh92pzq5jEROQhiuahDt6LK04iaSL2xDfySlO1atfHQytyfuT-spTWAaT_9nFmYI6amIAUiI80eGoMLjSDASbQw-lwph35vF2BLZkwBrgPWrtRSXy4ok_T6sQE1SIbSls5IDfbi9YTlI43rQ/Capture26b.PNG?psid=1

Building the Power Map

If you have the Power Query and Power Map add-ins installed successfully then you should see the POWER QUERY ribbon option as shown below

https://qmptoq.dm2301.livefilestore.com/y2pQPKw3sb2XvGLoGGuyxIIqaYpG81heeiWBV-YT2H9vmwng_V1QvuYy-G6q3WMoEnG_r7tB6d6EawwEJoFPKZ6ZhW9asSTRJ2YwzzuPkrqqUm1ruT9FCXAfQe46qxl6gavWXfQryw2mocFIfQDoimNzg/Capture2.PNG?psid=1

Click on the POWER QUERY ribbon and then click on From Database. Below is a screenshot

https://qmptoq.dm2301.livefilestore.com/y2pVEsAQmaxjF1pAnxFzEb1CaKBtgchAEl2qsFHGTEjTUS4cK1_KQHgqmWsBFtDTAkoh-9wChRdsInb9ACtWtPl455MP_V9m6VLpLdKfUj9eBy-62Uo4jqtl-ZNDRB_q6Fxk3V-UBvxqw3XBP9nddBHBg/Capture3.PNG?psid=1

You will immediately notice the wide variety of options available for data connections. For this scenario we are going to choose the From Microsoft Azure SQL Database option as shown below.

https://qmptoq.dm2301.livefilestore.com/y2pA8ruUNjHAhG0ucYs4GqKVS_po49Q_rYKqZ2kRlzbNaJOlPf6PnFEu2x0FcuL-GxD3KtdKX-UaR4wD8QN1CreNHsA_h1sb__Me5P3hKWCyV_v6r4A1p1_zDXPwj21R3ajMU2GFRc6087fsqgtr0tM7Q/Capture4.PNG?psid=1

Fill in the Azure SQL server name and the database name. Below is a screenshot of the server and database name used for this example. Click OK

https://qmptoq.dm2301.livefilestore.com/y2pp9PWvomyP1KjmWEW1z0iWAb8Bm_TnYWrkUXFuIlteF6XLpqjaZIRwLKJZacLF3rjq4Y4KxUD8r2MhwSF6x5xyndB0SH3Hz3PpCkovPFeQ3egcPWvuu9nLyUKW8nQN0qswX5NNgc4fVAQNg5kJ_sFXg/Image5.png?psid=1

If the server and database name is correct and if the username and password is correct then a Navigator will appear on the right hand side of your Excel worksheet. Below is a screenshot

https://qmptoq.dm2301.livefilestore.com/y2pIKzMQ5sn1hw7WoMIoIjy-MZAFEZ75kcinXmoiolYfDxY-yhiUmyxQMByI-sLbqjSpYd3FCwDC3wBWwjsjj8hTkUc62gpCg5sYabadN_vQkuNOmbExWwXNitCqmvZQ80lpIVBQnUZxmEQE7GLYUkrZA/Image6.png?psid=1

Let's take a closer look at this database connection that has been made. If you hoover your mouse over each of the table names you will see a preview of that database loading. The load time is dependent on the size of the database, your internet speed and your desktop's performance. Below are screenshots of the loading and the preview. Note that the preview itself has all the names and the total number of columns in the database.

https://qmptoq.dm2301.livefilestore.com/y2p3ITYMakAYLl_-_hJJMZs9EcBlmvy4LGUJAOxn3yfEXi1OIkkTrgdrIgzhoI4qYI6BJn3RTxVIdtvsq0gWiyNXUB3iqmuTHFNzgvJU3uFESle4P1AkhhL1m2ESXnJLOYnQu0HF2zefzna4bg54Gcyqg/Capture5a.png?psid=1

https://qmptoq.dm2301.livefilestore.com/y2p3_OsfWzCZ-wSwFKeAnSrRTRjVeH2j8vMls3SUFys4VkxHWHZEmMXLHmIGj5ReIcWP_97SnBMzsoBb2aoKxeTtpcoq4ktle1N6jaIxHIeqMBDid24mPcrIzhDTydolkmRb_oGYLTxEmpmu1EKDhlD3g/Capture5b.png?psid=1

The table from the database has more information than we need hence click on the EDIT option as shown above which will open the Query Editor. The Query Editor has the same look and feel as an Excel worksheet but it also gives you the Query Settings option to the right. Every steps that you have taken will be recorded under the APPLIED STEPS. For this example we are going to only keep a few columns and remove the rest. The step to remove the columns has been recorded as shown below

https://qmptoq.dm2301.livefilestore.com/y2pd_5L0l94taQNaMEr1C9VNX9lqN5hLQ4GR51Q-mA9VspZBrfZP87Ovt646xqb1xVnMQA81VFjrweGXE107c-s5_f9QavBypF2jzUqFRoKG5R9sW7OaimFlVSibwGjGLEAqQg4O66XT8kT9OqKgkFZbA/Image7.png?psid=1

Click on Close & Load. Now a new worksheet will be created. You will also see the Workbook Queries option to the right. 

https://qmptoq.dm2301.livefilestore.com/y2p0TRy5A5v0OcBts-OH1kjbzDUWyCjeCKh5eIDy26b9NFBDrKxZ7T4KCykpuR1yjKX-Zee7g4NJaEBrWozF40BYiklK3XV1pJayIwIkkQDMpIXv8WlQeQR8PiDsaHHP2qPmNFtgqHbokjV4_w9q-AxnA/Capture28.PNG?psid=1

Data Catalog

Data Catalog is where you can save all the queries that you have written and share it with others. Click on the 'Send to Data Catalog' button as shown below. Type in the username and password of the account that has access to 'Microsoft Power BI for Office 365'

https://qmptoq.dm2301.livefilestore.com/y2psQYm9CrdCsG-uSJjfVOYApDGCO8lBJ3gCQ1cPnoN3TopRgfWPIaxgq36sv3LFUI73fOIWOLh4_xeS0OYm1e1_QPoIbgGjn5yC3h7uqxCOGNMPJD8O_36UOYcEoF0oH8n4OdObvnJkm6H6qxQJz55Ag/Capture27.PNG?psid=1

You will be presented with the below option where you can give your query a name and setup the permissions for access

https://qmptoq.dm2301.livefilestore.com/y2pLfEyiQwdta2JxUTb6q5SiRLUTCA-CH-DN4HJ-Kfhki3RDefXD2I7CpP6qUq1IOD8Xt69OUnY3EHyTVMuO2KO7WwsJ9Hlc9tR4UnlU9Tr8wjql2bL_fLUXepztlnpiaTiEOVrHJ3UR2FqO-aOf-Qf1Q/Capture29a.PNG?psid=1

https://qmptoq.dm2301.livefilestore.com/y2pxIZ5kVrv96OV_9RYnMUJsPL8_OqVJI_MOQ41HGrgUkDj7kAltrNDCC72VSWjxHEWmWZdCTqef6BHmC-Y0o683su-wfV1q__0hfqXhFglHarr_boxKM7J0shNLD8nKkWjarkr1fZFd4vCLWJJws4vRg/Capture29b.PNG?psid=1

Now that we have the data with addresses, go to INSERT and click on Map.

https://qmptoq.dm2301.livefilestore.com/y2piy2PNmVbomXM2-rJ8WUaB7pwsGkrnTWmVgxw7FVVTZIHdM1NHKkhs91E4_ayR6-No2C7UttcgXa7puJWEqDvpBstC-8S1a96QI6L0TeL_ptieMCm3sa1yoPZ1IH_Dl1VfgBArMVj6NyQe39oZCxMoQ/Capture30.PNG?psid=1

You will see the Launch Power Map as shown below.  Click on it.

https://qmptoq.dm2301.livefilestore.com/y2pzUH0j04xagM0W4yHdAZOLWUX9i7CgtGAXcGFPe3PWJH4unDOljEmXREixojOZh7us1KXXkx7HPkXvhtSMIXCk7yjmjWZc78Tw2PzmlPvLbZtFh8ru3z83eNd0xsxanvje6x-4lbLh2nYXH9sZkL-hQ/Capture31.PNG?psid=1

You will now be presented with a new windows similar to what you see below. As you can see this Power Map view does have the PowerPoint look and feel which options such as adding scenes, create videos etc. Bing maps is the only option available.

https://qmptoq.dm2301.livefilestore.com/y2p98uvCkoKH1xzA_ctAK30p-2Qfd0mJiMHsiHXgOiwZ7e0eoRyhZX5tih6HKguWPD97U7Qt9gE95lBxMfEoZEE4bwoftfdzo5Nsanzqi4ssHpCo6R0qWU8cLIxzufyCOxPkTU8NW-YahFbMT5jBLPMFw/Image8.png?psid=1

Below is a video which shows you the several features that are available. This video also demonstrates how the addresses from the Azure SQL database were pulled.

View

(For high resolution video Click Here)

SharePoint Online

Now that we have our Excel spreadsheet log into your Office 365 using the account that has the Power BI subscription. Below is a screenshot of what the home page of the Power BI site looks like.

https://qmptoq.dm2301.livefilestore.com/y2prZ24lyZ3toax8uvfbT9wOZdllqVJOSUnfIbzYBqy0ybjmdxDjJ3uZsXR_HAzve8Qn47SrbRfwuZ_zPNBEM3hq4fOwlTz5rbChc9z-QLLw0ePD0h768XG7YQUDc10lhQLFqIoIHNmtZUtlsDw_waS2w/Capture32.PNG?psid=1

Click on Sites. Then click on settings and then Site contents. 

https://qmptoq.dm2301.livefilestore.com/y2pdXy5WcUtfYEGuwlg9pNlpAZSO19lGG7KexOB85wYoldgsczXDj5uhyxdtk7qpnEKUg__GdkvGwC7cpkMgrPQ9wMHScKQ-n6ZGOK-VJuaCoEYG5lb8hfqW2uwIFZrCikj4FX-RHmgCzmCyFyn-UnAng/Capture33.PNG?psid=1

Find your document library and upload the excel spreadsheet that you created. Once the document is uploaded go back to Site Contents and click on Power BI as shown below

https://qmptoq.dm2301.livefilestore.com/y2p6FPQ8fVufPR6oh0f4U_f2cSmLLvGDhihgQd2FSw1SjRNYlD5s32mYy8OwjnKxQmzJd1DJQNRH9EozhLCv8P8sSpDK0Vm_aUbFM8g-NNfy3Bnkp_rf8M6ODzHjT9p71V_7C_-MiFu4t6c3LvKucMwgA/Capture34.PNG?psid=1

If this is the first time you are accessing the Power BI site then you will get the below message. You can either click on the 'X' on the top right or click on the 'Use my own data' Below is a screenshot

https://qmptoq.dm2301.livefilestore.com/y2pP17rDbbAlhN3pMjPb1ROZb8BffTiKOTwM_oz6Zv0ytMObKiNoAp3OUpaKAdYoje2_u-GQ1ih1UvfCtg8oXVar7mm792zuTkNUpxxpDmTgfKjrql4-ZUeJP0jjUhrCj72z34UeQGD-cKb9GuIbI4yHQ/Capture35.PNG?psid=1

You will now be able to see the excel spreadsheet you just uploaded. Below is the screenshot of the excel spreadsheet that was uploaded in this scenario

https://qmptoq.dm2301.livefilestore.com/y2pSbsHfsx6tzWYOaWwPVm7iDtYtFN95LayWnoTsyXPzcETu6ZGo_bAlAOjyhHxUSXycQgms9PkoOmpw7SuUmwQa9VRLmGt8Fv8fnRNg04BV1JCyWFIdIecI7cYM91NWztgo4wzEkFbFeDk-Gyf3B7mvw/Capture36.PNG?psid=1

To feature the reports on the front and center of the Power BI site you need to enable the report. Below is a screenshot of where the enable option is.

https://qmptoq.dm2301.livefilestore.com/y2pCILJs4HjMsHX0-7vfIJzP8G8SNoX9dlfXz0Mig_bsQPl9zBIbptjNwriZ3QBR4nsAx_dTG_awMgLw0Q5IMhA_AiN5J6-ZbMzkNAPjNMPBA32Qg8PTx7L2lP2JjhC5XIzNtz4AQRzZA1RutmJT2mhKg/Capture37.PNG?psid=1

Once you click Enable, below is the message you will receive. Click Enable

https://qmptoq.dm2301.livefilestore.com/y2p1GI65UVZ0X7wmIGmb-zDM5Fcb1vNOzC4tuQ61ulofDejTN6_SRpuJG1_SGA0_mjfdbbLnuZ2GeBIDM13UysI9bR8LDUddkgpXz2X5UTywU9C2KLEzE_S-RsXokUiAgr0f55EEXgW4bc_caAcnBMWXg/Capture38.PNG?psid=1

Enabling reports can take a few minutes. You will see the below message

https://qmptoq.dm2301.livefilestore.com/y2pvfwz6Uawn4cIN2sK-6qos-BDFDE3l9wRaGhHyWqvllSf6IFrzIrkrdWqRMH3Icg3swkdeQ7Xx6YfiLaJs1UwQiJ459Ww5_QOkz6iuzw_-3tvvOeVzNCBovOBwm3k_NuRhoRSJYWZN_KCYF3cM5IlSw/Image9.png?psid=1

Once it is completed you will see a Report enabled message as shown below

https://qmptoq.dm2301.livefilestore.com/y2puLbIZ5hJM_gg4H8o7bnK5fILpdUDloLuiNvPYZv52uaGO5HvAxwtZhCGPpXWntApst-6Y-FPINRAOu2xsAFBPtCYlwffezjaaYaBE6-ZSwL3Z1kurOPyJ7k2NT98az7Em8OH_ULkxGZkTYrdTcXGqQ/Capture39.PNG?psid=1

You can click on the Open report button as shown above which will lead you to the excel spreadsheet you built. You view all the worksheets that you had created including the Power View. Below screenshots shows the Power View and the new worksheet we created using the Azure SQL database

https://qmptoq.dm2301.livefilestore.com/y2pw7Sf7PxOTDuf6qVdoeFqKyz4tyTk5jZZc9EfRCHBlT3XnhJ0k8SL_bmLay567lkOa0NrfVbWvnN0qCFGkvDazrqa6IAGoNseFNyVCXKKaEIDeXpNVptQihbZhLLjQA5frNjYT96NdpR9TWIlETHWvw/Capture40a.PNG?psid=1

https://qmptoq.dm2301.livefilestore.com/y2pwDHQd3SvTMxMPfU6TV5bc_axG1fByGBY-SgGlcv4nFTOH3SGguXVCWCnVV3sut3lPIGobgj-ilu_mp1pe4Wn4hbLAvK9zzlHgSgdFDFrHU19IebH-FOt5sT9WOi-lWZYtNkuq6t9Op6XQ7knEpX2IQ/Capture40b.PNG?psid=1

Finally, you can feature your report on the Power BI home page by clicking on the ellipsis next to the report and then clicking on the Add to Featured Reports

https://qmptoq.dm2301.livefilestore.com/y2pgXqUJ1Km8MAaZuy7t4YpbaPf6vpGhR315h0-q1bj1o-mbbykZxNka4y4_W4eVDpc8PHkwKsygdaZCXlPt1E9bpB0F7cE4lT3ZHdWMeaeQBvMq8PmOPbJz4_Fl4cfLKJnBfKM3pXQ1p5bNaJ_O4Ofuw/Image10.png?psid=1

Now your report is featured on the home page as shown below

https://qmptoq.dm2301.livefilestore.com/y2pPY4r0dvm1Q_vVVPAZCeGkRkBqUudDsgtoEi84ruqLAr_TkR61QdSUa3HWlsd48XVQ_Hkm-bgPtX7hM3-RgAd5kVFmD66o5svQrfrB8Pa60YCgcz-tCDVgDyPcbODntGcXyQ9yiEDjMe34Iq5cPn-TA/Capture41.PNG?psid=1

Conclusion

Excel's Power Query, Power Map and the ability to save all your queries in the Power BI's data catalog is potentially a one-stop-show for all your BI requirements. In Excel the databases from Azure SQL can easily be pulled and manipulated directly in Excel with a no-code solution and the queries can be saved for future use in the Office 365's data catalog. Finally, SharePoint Online can be used to feature the reports that you have built for your enterprise to view. 

Microsoft Power Query for Excel 

Power Map for Excel 2013

Configure Excel and Excel Services by SQL Server Analysis Services on SharePoint 2010