Sie sind auf Seite 1von 40

Introduction to

Financial Analytics with


Power BI
Participant’s Manual

Participant Manual 7/12/20 Kaizen Analytic LLP


Free Webinar – Introduction to Advance Financial Analytics with Power BI

CONTENTS
1. Introduction .......................................................................................................................................... 3
2. Download Power BI Desktop Application ........................................................................................... 3
3. Understand the Power BI window....................................................................................................... 4
4. Data Preparation and Data Modeling.................................................................................................. 5
a) Getting Data in Power BI .................................................................................................................. 5
b) Data Preparation - Account Table.................................................................................................... 6
i. DAX FUNCTION – PATH ................................................................................................................. 6
ii. DAX FUNCTION – PATHLENGHT .................................................................................................... 7
iii. DAX FUNCTION – LOOKUPVALUE& PATHITEM............................................................................. 7
c) Data Preparation - Department Table ........................................................................................... 10
i. DAX FUNCTION – PATH ............................................................................................................... 10
ii. DAX FUNCTION – PATHLENGHT .................................................................................................. 10
iii. DAX FUNCTION – LOOKUPVALUE & PATHITEM .......................................................................... 11
d) Data Preparation - Organization Table .......................................................................................... 12
i. DAX FUNCTION – PATH ............................................................................................................... 12
ii. DAX FUNCTION – PATHLENGHT .................................................................................................. 12
iii. DAX FUNCTION – LOOKUPVALUE & PATHITEM .......................................................................... 13
e) General Data Transformation ........................................................................................................ 15
f) Data Modeling ................................................................................................................................ 16
i. Organize the Table ...................................................................................................................... 17
5. Data Analysis Expression (DAX Calculations) .................................................................................... 17
a) Key Measures ................................................................................................................................. 17
b) Create Measure Table .................................................................................................................... 18
c) How to Add “Measure” in the Table ............................................................................................. 19
d) Calculate – Amount ........................................................................................................................ 19
e) Calculate – Actual ........................................................................................................................... 20
f) Calculate – Budget .......................................................................................................................... 20
g) Calculate – Current Ratio ............................................................................................................... 20
h) Calculate – Cash Ratio .................................................................................................................... 20
i) Calculate – Debt to Equity .............................................................................................................. 20

PARTICIPANT MANUAL 1
Free Webinar – Introduction to Advance Financial Analytics with Power BI

j) Calculate – Previous Year ............................................................................................................... 20


k) Calculate – Diff. from Previous Year .............................................................................................. 21
l) Calculate – Gross Profit Margin ..................................................................................................... 21
m) Calculate – Net Profit Margin..................................................................................................... 21
n) Operating Expenses Ratio .............................................................................................................. 21
o) Calculate – Return on Asset ........................................................................................................... 21
6. Creating Dynamic Dashboard ............................................................................................................ 21
a) Income Analytics - Dashboard ....................................................................................................... 21
i. Name the Page ............................................................................................................................ 21
ii. Create Income Statement ........................................................................................................... 22
iii. Add Slicers of Quarters, Year and Organization Name ............................................................... 25
iv. Add Income Analytics – Cards ..................................................................................................... 26
v. Add Income Analytics – Monthly Revenue and Expenditure...................................................... 28
b) Balance Sheet Analytics – Dashboard............................................................................................ 31
i. Name the Page ............................................................................................................................ 31
ii. Create Balance Sheet .................................................................................................................. 32
iii. Add: Balance Sheet Analytics - Cards .......................................................................................... 33
iv. Add: Balance Sheet Analytics – Cash Balance ............................................................................. 34
7. Visualize and Analyze the Data .......................................................................................................... 36
a) Income Analytics ............................................................................................................................ 36
i. Visualize through Organization ................................................................................................... 36
ii. Visualize through Year and Quarter............................................................................................ 36
iii. Use of Analyze............................................................................................................................. 37
b) Balance Sheet Analytics ................................................................................................................. 38

PARTICIPANT MANUAL 2
Free Webinar – Introduction to Advance Financial Analytics with Power BI

1. Introduction

The document will walk through with all the steps necessary for the preparation of basic
financial statements with Power BI for a given data set. The Data set is already provided to the
participants and this manual is only specific to that dataset.

For separate dataset and conducting advance financial analytics, do contact us on the given
contact details at the end of the manual

2. Download Power BI Desktop Application

The participants may download the power BI desktop version from the link given below

https://powerbi.microsoft.com/en-us/desktop/

PARTICIPANT MANUAL 3
Free Webinar – Introduction to Advance Financial Analytics with Power BI

3. Understand the Power BI window

Report
View

Data
View

Model
View

1. The ribbon at the top, which displays common tasks associated with reports and
visualizations.
2. The canvas area in the middle, where visualizations are created and arranged.
3. The pages tab area at the bottom, which lets you select or add report pages.
4. The Filters pane, where you can filter data visualizations.
5. The Visualizations pane, where you can add, change, or customize visualizations,
and apply drillthrough.
6. The Fields pane, which shows the available fields in your queries. You can drag
these fields onto the canvas, the Filters pane, or the Visualizations pane to create
or modify visualizations.

PARTICIPANT MANUAL 4
Free Webinar – Introduction to Advance Financial Analytics with Power BI

4. Data Preparation and Data Modeling

a) Getting Data in Power BI

With Power BI Desktop installed, you're ready to connect to the dataset. Click on
Excel.

Select all the worksheet of the dataset and click on “Load”

PARTICIPANT MANUAL 5
Free Webinar – Introduction to Advance Financial Analytics with Power BI

b) Data Preparation - Account Table

Click on the Data View to prepare the tables. First start with “Account Table”

Click on the “New Column” in the Table Tools

i. DAX FUNCTION – PATH

Write DAX Function:

HierarchyPath = PATH ( Account[AccountKey], Account[ParentAccountKey] )

PARTICIPANT MANUAL 6
Free Webinar – Introduction to Advance Financial Analytics with Power BI

ii. DAX FUNCTION – PATHLENGHT

Write DAX Function:

HierarchyDepth = PATHLENGTH ( Account[HierarchyPath] )

iii. DAX FUNCTION – LOOKUPVALUE& PATHITEM

LEVEL1

Level1 =
LOOKUPVALUE (
Account[AccountDescription],
Account[AccountKey],
PATHITEM ( Account[HierarchyPath], 1, INTEGER )
)

PARTICIPANT MANUAL 7
Free Webinar – Introduction to Advance Financial Analytics with Power BI

LEVEL2

Level2 =
IF (
Account[HierarchyDepth] >= 2,
LOOKUPVALUE (
Account[AccountDescription],
Account[AccountKey],
PATHITEM ( Account[HierarchyPath], 2, INTEGER )
),
Account[Level1] )

LEVEL3

Level3 =
IF (
Account[HierarchyDepth] >= 3,
LOOKUPVALUE (
Account[AccountDescription],
Account[AccountKey],
PATHITEM ( Account[HierarchyPath], 3, INTEGER )
),
Account[Level2])

PARTICIPANT MANUAL 8
Free Webinar – Introduction to Advance Financial Analytics with Power BI

LEVEL4

Level4 =
IF (
Account[HierarchyDepth] >= 4,
LOOKUPVALUE (
Account[AccountDescription],
Account[AccountKey],
PATHITEM ( Account[HierarchyPath], 4, INTEGER )
),
Account[Level3] )

LEVEL5

Level5 =
IF (
Account[HierarchyDepth] >= 5,
LOOKUPVALUE (
Account[AccountDescription],
Account[AccountKey],
PATHITEM ( Account[HierarchyPath], 5, INTEGER )
),
Account[Level4] )

PARTICIPANT MANUAL 9
Free Webinar – Introduction to Advance Financial Analytics with Power BI

LEVEL6

Level6 =
IF (
Account[HierarchyDepth] >= 6,
LOOKUPVALUE (
Account[AccountDescription],
Account[AccountKey],
PATHITEM ( Account[HierarchyPath], 6, INTEGER )
),
Account[Level5] )

c) Data Preparation - Department Table

i. DAX FUNCTION – PATH

HierarchyPath = PATH ( Department[DepartmentGroupKey], Department[ParentDepartmentGroupKey] )

ii. DAX FUNCTION – PATHLENGHT

HierarchyDepth = PATHLENGTH ( Department[HierarchyPath] )

PARTICIPANT MANUAL 10
Free Webinar – Introduction to Advance Financial Analytics with Power BI

iii. DAX FUNCTION – LOOKUPVALUE & PATHITEM


Level1 =
LOOKUPVALUE (
Department[DepartmentGroupName],
Department[DepartmentGroupKey],
PATHITEM ( Department[HierarchyPath], 1, INTEGER )
)

Level2 =
IF (
Department[HierarchyDepth] >= 2,
LOOKUPVALUE (
Department[DepartmentGroupName],
Department[DepartmentGroupKey],
PATHITEM ( Department[HierarchyPath], 2, INTEGER )
),
Department[Level1]
)

PARTICIPANT MANUAL 11
Free Webinar – Introduction to Advance Financial Analytics with Power BI

d) Data Preparation - Organization Table

i. DAX FUNCTION – PATH

HierarchyPath = PATH ( Organization[OrganizationKey], Organization[ParentOrganizationKey] )

ii. DAX FUNCTION – PATHLENGHT


HierarchyDepth = PATHLENGTH ( Organization[HierarchyPath] )

PARTICIPANT MANUAL 12
Free Webinar – Introduction to Advance Financial Analytics with Power BI

iii. DAX FUNCTION – LOOKUPVALUE & PATHITEM


Level1

Level1 =
LOOKUPVALUE (
Organization[OrganizationName],
Organization[OrganizationKey],
PATHITEM ( Organization[HierarchyPath], 1, INTEGER ))

Level2

Level2 =
IF (
Organization[HierarchyDepth] >= 2,
LOOKUPVALUE (
Organization[OrganizationName],
Organization[OrganizationKey],
PATHITEM ( Organization[HierarchyPath], 2, INTEGER )
),
Organization[Level1] )

PARTICIPANT MANUAL 13
Free Webinar – Introduction to Advance Financial Analytics with Power BI

LEVEL3

Level3 =
IF (
Organization[HierarchyDepth] >= 3,
LOOKUPVALUE (
Organization[OrganizationName],
Organization[OrganizationKey],
PATHITEM ( Organization[HierarchyPath], 3, INTEGER )
),
Organization[Level2] )

LEVEL4

Level4 =
IF (
Organization[HierarchyDepth] >= 4,
LOOKUPVALUE (
Organization[OrganizationName],
Organization[OrganizationKey],
PATHITEM ( Organization[HierarchyPath], 4, INTEGER )
),
Organization[Level3] )

PARTICIPANT MANUAL 14
Free Webinar – Introduction to Advance Financial Analytics with Power BI

e) General Data Transformation

Step 1: Select General Ledger from Fields Tab

Step 2: Select the Amount Column from the Table

Step 3: Change the “Data Type” from “Whole Number” to “Fixed Decimal Number”

Step 4: Change the “Format” from “Whole Number” to “Currency”

Step 5: The “Column Tools” tab will finally look like as given below:

PARTICIPANT MANUAL 15
Free Webinar – Introduction to Advance Financial Analytics with Power BI

f) Data Modeling

PARTICIPANT MANUAL 16
Free Webinar – Introduction to Advance Financial Analytics with Power BI

i. Organize the Table

5. Data Analysis Expression (DAX Calculations)

a) Key Measures

PARTICIPANT MANUAL 17
Free Webinar – Introduction to Advance Financial Analytics with Power BI

b) Create Measure Table

Click on “Enter Data” in the Home ribbon

Enter the name of the Table as “Key Measures” and click “Done”

PARTICIPANT MANUAL 18
Free Webinar – Introduction to Advance Financial Analytics with Power BI

c) How to Add “Measure” in the Table

d) Calculate – Amount

Amount = SUM('General Ledger'[Amount])

PARTICIPANT MANUAL 19
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Change the “Whole Number” to “Currency”

e) Calculate – Actual

Actual = CALCULATE([Amount], Scenario[ScenarioName] = "Actual")

f) Calculate – Budget

Budget = CALCULATE([Amount], Scenario[ScenarioName] = "Budget")

g) Calculate – Current Ratio

Current Ratio = DIVIDE(CALCULATE([Actual], Account[Level3] = "Current Assets"),


CALCULATE([Actual], Account[Level4] = "Current Liabilities"))

h) Calculate – Cash Ratio

Cash Ratio = DIVIDE(CALCULATE([Actual], Account[Level4] = "Cash"), CALCULATE([Actual],


Account[Level4] = "Current Liabilities"))

i) Calculate – Debt to Equity

Debt to Equity Ratio = DIVIDE(CALCULATE([Actual], Account[Level4] = "Long Term Liabilities"),


CALCULATE([Actual], Account[Level3] = "Owners Equity"))

j) Calculate – Previous Year

PARTICIPANT MANUAL 20
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Previous Year = CALCULATE([Actual], DATEADD('General Ledger'[Date].[Date], -1, YEAR))

k) Calculate – Diff. from Previous Year

Diff. from Previous Year = [Actual] - [Previous Year]

l) Calculate – Gross Profit Margin

Gross Profit Margin = DIVIDE(CALCULATE([Actual], Account[Level3] = "Gross Margin"),


CALCULATE([Actual], Account[Level4] = "Net Sales"))

m) Calculate – Net Profit Margin

Net Profit Margin = DIVIDE(CALCULATE([Actual], Account[Level1] = "Net Income"),


CALCULATE([Actual], Account[Level4] = "Net Sales"))

n) Operating Expenses Ratio

Operating Expenses Ratio = -DIVIDE(CALCULATE([Actual], Account[Level3] = "Operating


Expenses"), CALCULATE([Actual], Account[Level4] = "Net Sales"))

o) Calculate – Return on Asset

Return on Asset = DIVIDE(CALCULATE([Actual], Account[Level2] = "Operating Profit"),


CALCULATE([Actual], Account[Level2] = "Assets"))

6. Creating Dynamic Dashboard

a) Income Analytics - Dashboard

i. Name the Page

PARTICIPANT MANUAL 21
Free Webinar – Introduction to Advance Financial Analytics with Power BI

ii. Create Income Statement

Steps 1: Place the Columns from “Level2” to “Level6” in the Rows in the “Visualizations” tab

PARTICIPANT MANUAL 22
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Steps 2: Place the Columns “Level1” in the “Filters” tab

PARTICIPANT MANUAL 23
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Steps 3: Expand the Income Statement Visualization

PARTICIPANT MANUAL 24
Free Webinar – Introduction to Advance Financial Analytics with Power BI

iii. Add Slicers of Quarters, Year and Organization Name

Step 1: Select the “Slicer” visual

Step 2: Select “Quarter” from date column in the “General Ledger” Table

PARTICIPANT MANUAL 25
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Step 3: Select the “Horizontal” Orientation from the “General Tab” in the “Format” section

Step 4: Copy this Slicer and place the “Year” instead of “Quarter”

Step 5: Select the Slicer from the Visualization Tab and Select the “Organization Name” from the
Organization table

iv. Add Income Analytics – Cards


Step 1: Select the “Card” from

PARTICIPANT MANUAL 26
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Step 2: Place the “Gross Profit Margin” from the table of “Key Measures” and place it in the Fields
section.

Step 3: Copy the Card, place the “Net Profit Margin” from the table of “Key Measures” and place it in the
Fields section.

PARTICIPANT MANUAL 27
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Step 4: Copy the Card, place the “Operating Expenses Ratio” from the table of “Key Measures” and place
it in the Fields section.

v. Add Income Analytics – Monthly Revenue and Expenditure


Step 1: Select “Line and Clustered Column Chart” from visualization tab.

Step 2: Take “Actual” from the Key Measure table and place it at the “Column values”. Take “Account
Type” from Account table and place it at the “Column Series”. Take “Month” from the General Ledger
table and place it at the “Shared Axis”.

PARTICIPANT MANUAL 28
Free Webinar – Introduction to Advance Financial Analytics with Power BI

PARTICIPANT MANUAL 29
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Step 3: Select “Expenditures” and “Revenues” from the Account Type section in the Filters.

PARTICIPANT MANUAL 30
Free Webinar – Introduction to Advance Financial Analytics with Power BI

b) Balance Sheet Analytics – Dashboard

i. Name the Page

Step 1: Make a duplicate of “Income Analytics” sheet and Rename the new sheet “Balance Sheet
Analytics”. Also rename the “Heading” as “Balance Sheet Analytics”

PARTICIPANT MANUAL 31
Free Webinar – Introduction to Advance Financial Analytics with Power BI

ii. Create Balance Sheet

Step 2: Select the “Income Statement” Visual

PARTICIPANT MANUAL 32
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Step 3: Click on “Filters” Tab and Un-select the “Net Income” and Select the “Balance Sheet”.

iii. Add: Balance Sheet Analytics - Cards

Step 4: Click the “Gross Profit Margin” Card Visual

PARTICIPANT MANUAL 33
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Step 5: Select “Current Ratio” from the “Key Measures” table and Replace it with the “Current Ratio” in
the “Field” section of Visualization Tab

Step 5: Repeat the same procedure for next two Cards. Select the “Net Profit Margin” and “Operating
Expenses Ratio” Card Visual and replace the values with “Cash Ratio” and “Debt Equity Ratio” in the
“Field” section of Visualization Tab

iv. Add: Balance Sheet Analytics – Cash Balance

Step 6: Select the “Expenditure” and “Revenue” Visual

PARTICIPANT MANUAL 34
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Step 7: Place the “Level1” Column from the Table of “Account” and place it in the “Filters” table at
“Filters on this Visual”

Step 8: Place the “Level4” Column from the Table of “Account” and place it in the “Filters” table at
“Filters on this Visual” and Select “Cash” from the selection.

PARTICIPANT MANUAL 35
Free Webinar – Introduction to Advance Financial Analytics with Power BI

7. Visualize and Analyze the Data

a) Income Analytics

i. Visualize through Organization

ii. Visualize through Year and Quarter

PARTICIPANT MANUAL 36
Free Webinar – Introduction to Advance Financial Analytics with Power BI

iii. Use of Analyze

PARTICIPANT MANUAL 37
Free Webinar – Introduction to Advance Financial Analytics with Power BI

b) Balance Sheet Analytics

PARTICIPANT MANUAL 38
Free Webinar – Introduction to Advance Financial Analytics with Power BI

Contact us:
KAIZEN ANALYTIC LLP
Office 53, M-2, Eden Tower, Main
Boulevard Road Gulberg III
Lahore
trainings@kaizenanalytic.pk

0331-9664911

PARTICIPANT MANUAL 39

Das könnte Ihnen auch gefallen