BI Journal
BI Journal
INTELLIGENCE
JOURNAL
INDEX
SR.NO TITLE DATE OF DATE OF SIGN
EXPERIMENT SUBMISSION
PRACTICAL NO:1
Installation of PowerBI
STEP 1:
Select the file of Power BI and install as per OS type and click Next. Save the
installation file on the local drive.
STEP 2:
When you run the installation file, following screen is displayed.
STEP 3:
Click next.
STEP 4:
Accept the license agreement and follow the instructions on the screen to
finish the installation.
STEP 5:
Keep the default location for installation and in next dialog box tick to create a
desktop shortcut for PowerBI.
Click Install button to finish the installation process.
STEP 6:
When Power BI is installed, it launches a welcome screen. This screen is used to
launch different options related to get data, enrich the existing data models,
create reports as well as publish and share reports.
PRACTICAL NO:2
Import the legacy data from Excel and load in the
targetsystem.
2) From the Home ribbon, select Get Data. Excel is one of the Most
Common data connections, so you can select it directly from the Get Data
menu.
3) In the Open File dialog box, select the file.
4) In the Navigator pane, select the Products table and then select Edit.
PRACTICAL NO:3
Import the legacy data from Oracle data and load in
thetarget system.
http://services.odata.org/V3/Northwind/Northwind.svc/
1) From the Home ribbon tab in Query Editor, select Get Data.
4) Select OK.
5) In the Navigator pane, select the Orders table, and then select Edit.
PRACTICAL NO:4
Perform The Extraction And Transformation And Load
Process To Construct The Database In The
SqlServer/PowerBi.
Data Extraction :
The data extraction is first step of ETL. There are 2 Types of Data Extraction 1.
Full Extraction : All the data from source systems or operational systems gets
extracted to staging area. (Initial Load) 2. Partial Extraction : Sometimes we get
notification from the source system to update specific date. It is called as Delta
load. Source System Performance: The Extraction strategies should not affect
source system performance
Data Transformation :
The data transformation is second step. After extracting the data there is big
need to do the transformation as per the target system. I would like to give you
some bullet points of Data Transformation. • Data Extracted from source
system is in to Raw format. We need to transform it before loading in to target
server.
There are following important steps of Data Transformation :
1.Selection : Select data to load in target
2.Matching : Match the data with target system
3.Data Transforming : We need to change data as per target table structures
Step following:
Step 3: In the new window that appears, select the sheet you want to use (in this case,
"Sheet 1") and click on the "Load" button at the bottom of the window.
Step 4: Go to the right-hand side of the screen where you will see the sheet1. Just
right-click on "sheet1" and go to the "Edit Queries" option.
Step 5: Now, we will remove the top row of the Excel file. First, click on the "Remove
Rows" dropdown and select "Remove Top Rows". In this case, Canada is the first or
top row and Germany is the second row. If we remove the top row or Canada of the
country column, Germany will become the new top row.
Step 6: Before removing the top row, we need to specify how many rows we need to
remove from the Excel file. We can specify 1 row or any number of rows.
Step 7: Germany has now become the top row of the Excel file.
Step 8: Next, we need to make Germany the header or the whole top row the header
of the file. To do this, click on the "Transform" ribbon and select "First Row as
Headers" option.
Step 9: We can now see that Germany has become the column, but before it was the
"Country" column. To remove the "None" column, just drag the column and click on
the "Remove" option which is there on the "Home" ribbon.
Step 10: To replace a value, click on the "Replace Values" option. We need to specify
any one column by dragging the column. For example, in the "Germany" column, if
"United States of America" is written, we will replace it with "USA" and click on the
"OK" button.
Step 11: We can now see that all the "United States of America" has been replaced
with "USA" and a new value has been added.
rainfall <-c(799,1174.8,865.1,1334.6,635.4,918.5,685.5,998.6,784.2,985,882.8,1071)
rainfall.timeseries <-
ts(rainfall,start=c(2022,1),frequency=12)
print(rainfall.timeseries)
png(file="rainfall.png"
plot(rainfall.timeseries
) dev.off()
Output:
When we execute the above code, it produces the following result and chart –
PRACTICAL NO:6
K-Means Clustering Using R
# Apply K mean to iris and store result
result <-predict(relation,a)
print(result)
Output:
Time series is a series of data points in which each data point is associated with a
timestamp. A simple example is the price of a stock in the stock market at different
points of time on a given day. Another example is the amount of rainfall in a region
at different months of the year. R language uses many functions to create,
manipulate and plot the time series data.
The data for the time series is stored in an R object called time-series object. It is also
aR
data object like a vector or data frame. The time series object is created by
using the ts() function.
Syntax
The basic syntax for ts() function in time series analysis is −
timeseries.object.name <- ts(data, start, end, frequency)
Consider the annual rainfall details at a place starting from January 2023. We
create an R time series object for a period of 12 months and plot it.
rainfall <-c(799,1174.8,865.1,1334.6,635.4,918.5,685.5,998.6,784.2,985,882.8,1071)
rainfall.timeseries
<-ts(rainfall,start=c(2022,1),frequency=12)
print(rainfall.timeseries)
png(file="rainfall.png”)
plot(rainfall.timeseries)
dev.off()
Output:
When we execute the above code, it produces the following result and chart –
PRACTICAL NO:9
Apply What-If Analysis For Data Visualization Design
And Generate Necessary Report
A book store and have 100 books in storage. You sell a certain % for the highest price
of $50 and a certain % for the lower price of $20.
If you sell 60% for the highest price, cell D10 calculates a total profit of 60 * $50 + 40 *
$20 = $3800. Create Different Scenarios But what if you sell 70% for the highest price?
And what if you sell 80% for the highest price? Or 90%, or even 100%? Each different
percentage is a different scenario. You can use the Scenario Manager to create these
scenarios. Note: You can simply type in a different percentage into cell C4 to see the
corresponding result of a scenario in cell D10. However, what-if analysis enables you
to easily compare the results of different scenarios.
4. Type a name (60% highest), select cell C4 (% sold for the highest price) for the
Changing cells and click on OK.
A Data Model is created automatically when you import two or more tables
simultaneously from a database. The existing database relationships between those
tables is used to create the Data Model in Excel.
Step 1 − Open a new blank Workbook in Excel.
Step 2 − Click on the DATA tab.
Step 3 − In the Get External Data group, click on the option from Access. The Select
Data Source dialog box opens.
Step 4 − Select Events.accdb, Events Access Database file.
Step 5 − The Select Table window, displaying all the tables found in the database,
appears.
Step 6 − Tables in a database are similar to the tables in Excel. Check the ‘Enable
selection of multiple tables’ box, and select all the tables. Then click OK.
Step 7 − The Import Data window appears. Select the Manage data model option. This
option imports the tables into Excel then select the pivot table option this prepares a
PivotTable for analyzing the imported tables.