You are on page 1of 12

Introduction: Microsoft Power BI is a collection of apps, software services and

connectors that come together to turn unrelated data into visually impressive and
interactive insights. Power BI can work with simple data sources like Microsoft
Excel and complicated ones like cloud-based or on-premises hybrid Data
warehouses. Power BI has the capabilities to easily connect to your data sources,
visualise and share and publish your findings with anyone and everyone.
Power BI is simple and fast enough to connect to an Excel workbook or a local
database. It can also be robust and enterprise-grade, ready for extensive modeling
and real time analytics. This means it can be used in a variety of environments from
a personal report and visualisation tool to the analytics and decision engine behind
group projects, divisions, or entire corporations.
As Power BI is a Microsoft product and has built in connections to Excel, there are
many functions that will be familiar to an Excel user.

The common flow of activity in Power BI looks like this:

 Bring data into Power BI Desktop, and create a report.


 Publish to the Power BI service, where you can create new visualizations or
build dashboards.
 Share dashboards with others, especially people who are on the go.
 View and interact with shared dashboards and reports in Power BI Mobile
apps.

The basic building blocks in Power BI are:


 Visualizations
 Datasets
 Reports
 Dashboards
 Tiles,
Req1: Find and correct Errors
Step1: Click on any cell in the data in the Main worksheet.
Step2:On the Insert ribbon in Excel (across the top of the window), click on Pivot
Table.
Step3: Accept the defaults to insert the pivot table in the workbook

Step4: Before going any further, right‐click the worksheet tab and rename it as “Req
1.”
Step5: Next, populated the pivot table. In the Pivot Table Fields panel, drag “region”
down to the Rows box and “Sales” down to the Values box.

Step6: I now have a pivot table. I have examined the list of Regions to find any
error(s), and two regions are misspelled that are sotheast and wemt that will be
replaced by southwest and west respectively.
Step7: Now we want to correct the original data set for the spelling error. Click on the
Main tab to go back to the original data.
Step8: In the Home ribbon, click on Find & Select. Then we Type the incorrect term
“sotheast”in the “Find what” box and the correct spelling “southeast” in the “Replace
with” box. Click on Replace All. Again we Type the incorrect term “wemt”in the
“Find what” box and the correct spelling “west” in the “Replace with” box. Click on
Replace All.
Step9: Now we need to refresh the pivot table data to reflect the corrections. Go back
to the Req. 1 worksheet, right‐click within the pivot table data, and select Refresh.

You can see that the incorrect region term is no longer present in the data set

Step10: Now repeat the process for the Insurance Type field. Drag “Region” back up
to the main box and drag “Insurance Type” down to the Rows box.
Step11:Review the list of Insurance Types to find the error(s). In the Home ribbon,
click on Find & Select. Then we Type the incorrect term “Homme”in the “Find what”
box and the correct spelling “Home” in the “Replace with” box. Click on Replace All.
Again we Type the incorrect term “professionall”in the “Find what” box and the
correct spelling “professional” in the “Replace with” box. Click on Replace All.
Once the errors are corrected and the pivot table is refreshed, we can see that the
incorrect insurance types are no longer present in the data set.

Req2: Calculate the variable cost and contribution


margin for each policy sold.
Step1: Click on the table mode. We deleted the “Variable Cost Percentage”, “Variable
Cost”, and “Contribution Margin” columns and created new columns.
Step2: In the fields menu, moving the mouse to the far right corner of the
“Contribution Margin” field until we see the “…”. Clicking on the “…” and the menu
opens.
Step3:Clicking on Delete.
Step4:Clicking Delete to confirm.
Step5:Completed the same process for “Variable Cost Percentage” and “Variable
Cost” to delete those columns. Given in the picture below.

Step6: To add the variable cost percentage to the Main data table, clicking on New
Column.
Step7: Now making the name of the column by typing in the equation bar the
following: Variable Cost Percentage =
Step8: The variable cost percentage is in the VariableCostPct table. To get the
variable cost percentage for each sale, we will use the LOOKUPVALUE function.
The formula is = LOOKUPVALUE(VariableCostPct[Variable Cost Percent],
VariableCostPct[State Type], MainData[State Type]).

Step9: Now we move on to calculate the variable cost. To do so clicking on New


Column.
Step10: In the equation bar typed the following: Variable Cost = MainData[Sales] *
MainData[Variable Cost Percentage]

Step11: Selecting the variable cost column clicked on the column tools, as the
modeling tab is not available in my version .

Step12: Clicked on Format and then Currency. Selected the $ English (United States).
Step13: Next, we move on to calculate the contribution margin. Clicked on New
Column.
Step14: In the equation bar we typed the following:
Contribution Margin = Maindata[Sales] ‐ MainData[Variable Cost]

Step15: Selecting the variable cost column clicked on the column tools
Step16: Clicked on Format and then Currency. Select the $ English (United States).
This is the final outcome of requirement 2. we have calculated the variable cost and
contribution margin for each policy sold.

the variable cost and


contribution margin for each policy
sold
Calculate the variable cost and
contribution margin for each policy
sold

You might also like