Beruflich Dokumente
Kultur Dokumente
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
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
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
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
With Power BI Desktop installed, you're ready to connect to the dataset. Click on
Excel.
PARTICIPANT MANUAL 5
Free Webinar – Introduction to Advance Financial Analytics with Power BI
Click on the Data View to prepare the tables. First start with “Account Table”
PARTICIPANT MANUAL 6
Free Webinar – Introduction to Advance Financial Analytics with Power BI
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] )
PARTICIPANT MANUAL 10
Free Webinar – Introduction to Advance Financial Analytics with Power BI
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
PARTICIPANT MANUAL 12
Free Webinar – Introduction to Advance Financial Analytics with Power BI
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
Step 3: Change the “Data Type” from “Whole Number” to “Fixed Decimal Number”
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
a) Key Measures
PARTICIPANT MANUAL 17
Free Webinar – Introduction to Advance Financial Analytics with Power BI
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
d) Calculate – Amount
PARTICIPANT MANUAL 19
Free Webinar – Introduction to Advance Financial Analytics with Power BI
e) Calculate – Actual
f) Calculate – Budget
PARTICIPANT MANUAL 20
Free Webinar – Introduction to Advance Financial Analytics with Power BI
PARTICIPANT MANUAL 21
Free Webinar – Introduction to Advance Financial Analytics with Power BI
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
PARTICIPANT MANUAL 23
Free Webinar – Introduction to Advance Financial Analytics with Power BI
PARTICIPANT MANUAL 24
Free Webinar – Introduction to Advance Financial Analytics with Power BI
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
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.
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
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
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”.
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
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
a) Income Analytics
PARTICIPANT MANUAL 36
Free Webinar – Introduction to Advance Financial Analytics with Power BI
PARTICIPANT MANUAL 37
Free Webinar – Introduction to Advance Financial Analytics with Power BI
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