0% found this document useful (0 votes)
0 views

Experiment 5 - SQL with PowerBI data visualization

This document provides a step-by-step guide for using SQL with Power BI for data visualization. It includes instructions for downloading and installing Power BI Desktop and SQL Server, as well as connecting to a SQL Server database to analyze data related to products and sales. The guide emphasizes the importance of enabling certain features in Power BI and using SQL Server Management Studio for database management.

Uploaded by

manjunathkn300
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

Experiment 5 - SQL with PowerBI data visualization

This document provides a step-by-step guide for using SQL with Power BI for data visualization. It includes instructions for downloading and installing Power BI Desktop and SQL Server, as well as connecting to a SQL Server database to analyze data related to products and sales. The guide emphasizes the importance of enabling certain features in Power BI and using SQL Server Management Studio for database management.

Uploaded by

manjunathkn300
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Experiment 5

Data Visualization using SQL with Power BI


1. Go to Microsoft Store from windows.

2. Search for Power Bi Desktop and click on Get on to download application.


3.Wait for the application to install.

4. Once installed you should be able to see open option for the application.
6. We can open Power BI from start menu as well.

7. First view of Power BI Desktop.


8. Some optional settings.

File > Option and settings > Options > Preview Features > Enable “on-object interaction”
After Restarting PowerBI you should be able to see additional options in insert pane
Import Data from SQL:

The image below highlights the major components of the workspace of Power BI. Power BI can
be connected to a number of data sources. The Get Data icon displays all the possible available
options from where data can be imported into Power BI.

Connecting to SQL Server


Let us walk through an example depicting how to connect SQL server database to Power BI Desktop and
then use it to analyze the database. This dataset contains information about products, sales, profits, etc. and
our aim as Data Analysts is to analyze the data and find critical areas of improvement within this fictitious
company.
Accessing the sample database
Download and Install the SQL server from Microsoft website using the link https://www.microsoft.com/en-
in/sql-server/sql-server-downloads. once downloaded means click on the link and install SQL express 2022.
After installation will get like then, click on Connect now.

Install the SQL Server Management Studio(SSMS). SSMS is a free and integrated environment for
managing any SQL infrastructure. With SSMS one can deploy, monitor, and upgrade the data-tier
components used by your applications, as well as build queries and scripts.
Once downloaded and installed on to your system, you will see the following screen asking for specific
credentials.
Click on server name and select symbol and select Browse for more. You will get like this.
Select + mark on the database engine and select the server and press OK.
Select remember my selection and press OK. Now the databases are listed as shown in the below figure.

Select Databases -> System databases and select any databases.


Now go to Power BI desktop and select options and settings , then select options.

Click on Get data and select SQL server. You will get like this.

Go to SQL server management studio and select the server.


Right click and select Properties to copy the server name.
Paste the server name in Power BI desktop.
Select any two or three check boxes and load the data.

You might also like