3 - Data Analysis Using Power BI
3 - Data Analysis Using Power BI
Using MS Power BI
Lec. 3 - Summer 2024
• Power Query M ("M" for short) is the functional programming language used
in Power Query Phase for ETL Purposes.
• ETL Steps Made using Power Query GUI are transformed into M Queries
and linked together sequentially in a script called M Script.
Code.
• DAX is a formula language. You can use DAX to define custom calculations for
Calculated Columns and for Measures.
• DAX includes some of the functions used in Excel formulas, and additional
functions designed to work with relational data and perform dynamic
aggregation.
Useful when you want to add a new column to the table that is derived from the values in other
columns, and you want the result to be available for all further calculations.
• Measures:
Measures are useful for performing dynamic aggregations on data, such as sums, counts,
averages, and so on.
Measures are not stored in the table but are calculated each time they are needed for a
visualization or calculation.
Combo Charts
• Combination of column and line chart for multible measures.
Card Visualization
• Used to display a single value
Map visualization
• Used for geographical data
Slicers
• Slicers are a standalone visual that can be used to filter other visualizations with different formats
Custom visuals
• Custom viuals can be found on marketplace.
Ejada Internal Use Only
Visuals formatting and configurations
Power BI allows a variety of options for
customizing how visualizations look
based on different visuals, with common
options such as:
• Title
• Background
• Border
• General: Such as size and location of the visual.
• Data Color
• Tooltips
condition.
a. Create a Hierarchy.
details.
the report.
actions such as :
• With bookmarks in Power BI, user can capture the currently configured
• Later, user can go back to that state by selecting the saved bookmark.
• User can use this feature to reset filters or to hide and show some visuals.
the report, other visuals might change to reflect that selection. Similarly, if there are
hierarchies in your data, you can move up and down the hierarchy to see the data at
different levels.
• When you have multiple visuals on the same report page, they all interact with each other,
so you should become familiar with these interactions and see how your report changes.
• In Power BI Roles can be used to define user access for data by a strict rule.
• It can be used for row level security by defining security role for data to limit
• Roles can be validated after creation using the "view as" option.
• To publish the report open Power BI server then navigate to targeted folder
• You can change Data source, manage the refresh scheduler, and permissions
Resources:
• Power BI Full Course Tutorial (8+ Hours)
• Power BI Tutorials for Beginners
• DAX 101 & Advanced DAX
Task Description:
It is Required to Create a Report for Adventure Works Sales Department
by Connecting to the Data Warehouse that Built Previously.
Task Goals:
There are two Pages Required in the Sales Report:
A. Sales Analysis by Customers-Region
B. Sales Analysis by Product-Category
42
Ejada Internal Use Only
Thank You