Blog

Overview of Power BI and its Components - Meritshot

Overview of Power BI and its Components

February 2, 2024

Mastering Power BI: A Comprehensive Guide for Beginners

Contents

Introducing Power BI………………………………………………………………………. 3

Parts of Power BI………………………………………………………………………… 3

The flow of work in Power BI………………………………………………………. 4

Power BI Desktop:………………………………………………………………………….. 4

Power BI Desktop Interface: The Report has five main areas……………. 5

Querying Data from CSV…………………………………………………………………. 6

Query Editor……………………………………………………………………………….. 6

Exercise 1: Get Started with Query Editor………………………………………. 6

Exercise 2: Connecting the data from the Excel Source……………………. 7

Interface of Query Editor……………………………………………………………… 9

Exercise 3: Clean, Transform the data (Removing Nulls)……………….. 11

Calculated Measures Using DAX……………………………………………………. 13

Exercise 4: Creating of the Measures using DAX………………………….. 13

Exercise 5: Change the format of the Measures……………………………… 14

Creating Reports & Visualizations…………………………………………………… 15

Exercise 6: Creating your first visualization (Completion % of All Goals) Gauge Chart……………………………………………………………………. 15

Exercise 7: Importing a Theme to a Power BI Desktop File……………. 16

Exercise 8: Changing the Color of the Gauge………………………………… 17

Exercise 9: Changing the Title of the Gauge Chart………………………… 18

Exercise 9: Creating the Stacked Column Chart…………………………….. 19

Exercise 10: Sorting the Goals in the right order……………………………. 20

Exercise 10: Filters in Power BI 21

Introducing Power BI

Power BI is a suite of business analytics tools which connects to different data sources to analyze data and share insights throughout your organization.

power_bi

Parts of Power BI

There are 3 Parts of Power BI.

  1. Power BI Desktop
  2. Power BI Service
  3. Power BI Mobile

Power BI Desktop: It is a Windows desktop application (Report Authoring Tool) which Lets you build queries, models and reports that visualize data.

Power BI Service: Power BI Service is cloud based Software as Service Application which allows us to create dashboards, Setup schedule data refreshes, Share the reports securely in the organization.

Power BI Mobile: It is an application (App) on mobile devices which allows you to interact with the reports and dashboard from Power BI Service.

The flow of work in Power BI

A common flow of work in Power BI begins in Power BI Desktop, where a report is created. That report is then published to the Power BI service, and then shared so users of Power BI Mobile apps can consume the information.

It doesn’t always happen that way, and that’s okay, but we’ll use that flow to help you learn the various parts of Power BI, and how they complement one another.

power_bi

Power BI Desktop:

Power BI Desktop is report authoring tool that allows you to create reports, queries, Extract Transform and Load the data from data sources and model the queries.

Power BI Desktop Interface: The Report has five main areas:

  1. Ribbon: The Ribbon displays common tasks associated with reports and visualizations;
  2. Pages: The Pages tab area along the bottom allows you to select or add a report page;
  3. Visualizations: The Visualizations pane allows you to change visualizations, customize colors or axes, apply filters, drag fields, and more;
  4. Fields: The Fields pane, allows you to drag and drop query elements and filters onto the Report view, or drag to the Filters area of the Visualizations pane;
  5. Views Pane: There are three types of views in the views pane
    • Reports View – allows you to create any number of report pages with
    • Data View – allows you to inspect, explore, and understand data in your Power BI Desktop
    • Relationship or Model view – allows you to show all of the tables, columns, and relationships in your
report_canvas

Querying Data from CSV

Query Editor

You can import and clean data from Oracle while working in Power BI.

Query Editor, allows you to connect to one or many data sources, shape and transform the data to meet your business needs, then load the queries into the model into Power BI Desktop

This below step provides an overview of the work with data as well as connecting to data sources, shaping the data in Query Editor

Exercise 1: Get Started with Query Editor                                                                                                                      

1. To get to Query Editor, select Edit Queries from the Home tab of Power BI

query_editor

2. Click on the drop down of the Edit Queries on the bottom right corner, click on Edit Queries

query_editor

Note: With no data connections, Query Editor appears as a blank pane, ready for data.

3. Below image shows the interface of the Query Editor

query_editor

4. From Home tab > New Source > Choose Excel

query_editor

Navigate to the Strategic Plan and Dashboard Folder and Choose

5. PowerBITraining_StrategicPlanDashboard_Input_Template Excel File

power_bi_traning

Click on Open ( ) at the bottom of the screen

6. You can see a navigator screen to select the sheets on the Excel Workbook. In our case, we have one sheet named as Input

navigator

7. Select Input sheet from the available list

navigator

Click OK ( )at the bottom of the screen

Interface of Query Editor

Query Editor consists of 4 Parts

  1. Query Ribbon
  2. Left Pane
  3. Center (Data) Pane
  4. Query Settings
power_bi_editor

The Query Ribbon

The Ribbon in Query Editor consists of four tabs

  • Home
  • Transform
  • Add Column
  • View

Home Tab: The Home tab contains the common query tasks, including the first step in any query, which is Get Data.

transform

Transform: The Transform tab provides access to common data transformation tasks, such as adding or removing columns, changing data types, splitting columns, and other data-driven tasks.

transform

Add Column: The Add Column tab provides additional tasks associated with adding a column, formatting column data, and adding

custom columns. The following image shows the Add Column tab.

transform

View Tab: The View tab on the ribbon is used to toggle whether certain panes or windows are displayed. It’s also used to display the Advanced Editor. The following image shows the View tab.

transform

The Left pane:

The left pane displays the number of active queries, as well as the name of the query. When you select a query from the left pane, its data is displayed in the center pane, where you can shape and transform the data to meet your needs.

query_editor goal

The center (data) pane:

In the Center pane, or Data pane, data from the selected query is displayed. This is where much of the work of the Query view is accomplished.

data pane

The Query settings pane:

The Query Settings pane is where all steps associated with a query are displayed.

query_settings

Exercise 3: Clean, Transform the data (Removing Nulls)

Removing the unwanted rows in the query.

8. Home Tab > Reduce Rows section > Remove Rows > Remove Blank Rows

reduce_rows

Notice that null records are eliminated, and new steps is added for the transformation you applied to the query in the query settings pane of the selected query.

each_step

Note: Each step, you do in the Query Editor is recorded in Applied Steps of Query Settings pane.

9. From Home Ribbon > Click on Close & Apply

from_home_ribbon

Note: After Close & Apply the query is added to the model for report development.

Calculated Measures Using DAX

In general, Measures are used to calculate aggregates, such as the sum or average of a column. Measures are calculated at the time of your query, which means that they aren’t stored in your database, but use processing power to execute a query at the time of your request.

Exercise 4: Creating of the Measures using DAX                                                                                                                      

10. Be on the Report view, From the Fields Pane, click on the Ellipses (More options) of the Input Query, Click on New Measure.

visualizations

11. In the Expression Bar, Type in

Overall Completion% = sum (Input [Completion%]) /(COUNTROWS(Input)*100)

overall_completion

12. Click on Commit to validate the Expression

click_on_commit

Note: After you commit, if there are any errors in the expression, the expression will be highlighted with red curly line.

clipboard

Exercise 5: Change the format of the Measures

13. Expand Input query under Fields pane, Select Overall Completion %, and from the Modeling ribbon, Click on the Format under the formatting section and select Percentage.

points_to_zero

14. Make the decimal points to Zero of the Overall Completion % measure under formatting

make_the_decimal

Creating Reports & Visualizations

Exercise 6: Creating your first visualization (Completion % of All Goals) Gauge Chart

15. Click on Visualizations Pane and Click on Gauge Chart

click_on_visualization

Note: Make sure the Visualization is selected before dropping the fields.

16. Expand Input Query, Drag Overall Completion% to the Value section of the Fields pane of the gauge Visual

27%

Exercise 7: Importing a Theme to a Power BI Desktop File.

With Report Themes you can apply design changes to your entire report, such as using corporate colors, changing icon sets, or applying new default visual formatting. When you apply a Report Theme, all visuals in your report use the colors and formatting from your selected theme.

17. From the Home Ribbon of the Report view, click on the drop down of the Switch Theme under Themes section and select Import from the Drag Overall Completion% to the Value section of the Fields pane of the gauge Visual

gauge_visual

A window appears that lets you browse to the location of the JSON theme file

18. Navigate to the Strategic Plan and Dashboard folder o the Desktop and select Power BI Color Json file

navigate_to

19. Click on Open ( ) at the bottom of the screen

import_theme

You will get a success message once the theme is imported successfully.

Exercise 8: Changing the Color of the Gauge.

20. Select the Gauge Chart and Click on the Format of the Gauge Chart, Expand Data Colors properties, click on the drop down of Fill property and select light blue color

select_the_gauge

After the changing the color the gauge chart looks like the one below.

overrall_completion

21. Click on the drop down of Target property and select Black

click_on

Exercise 9: Changing the Title of the Gauge Chart.

22. Expand the title property of the Gauge chart, Change the title text to “Completion% of All 4 Goals”.

expand_the_title

We are done with our first visualization. We will create few more visualizations.

Exercise 9: Creating the Stacked Column Chart.

23. Click anywhere on the Canvas other than the visuals, select Stacked Column Chart and bring the visual next to the Donut Chart.

donut_chart

24. Expand Input, Drag Overall Completion% to the Value section, Goal Detail to the Legend, Goal to the Axis of the Fields pane of the Stacked Column Visual.

stacked_column

Notice that the goals are not in the right order.

Exercise 10: Sorting the Goals in the right order.

25. Click on the ellipses ( More Options) of the Stacked Column Visual, Select Sort Ascending, Hover on Sort by and Select Goal Detail.

hover_on_sort

26. Click on the format icon () for the visual, Expand Title and edit the title to “Goal Completion% by Goal”

click_on_the_format

Notice that the Y axis is not 100%

27. Expand Y Axis property, In the End Box, Type in 1

expand_y

28. Turn on the Data Labels

goal_completion

29. Click anywhere on the Canvas other than the visuals, select Stacked Column Chart and bring the visual below the Donut Chart.

30. Expand Input, Drag Overall Completion% to the Value section, Performance Measure/Milestone Detail to the Axis, Champion to the tool tip of the Fields pane of the Stacked Column Visual.

axis_champion



Exercise 10: Filters in Power BI

Filters allows the Power BI visual to narrow down or filter to the desired result. We are filtering the visual to show just the data for Goal.

31. Expand the filters pane, Drag Goal to the “Add data fields here” section under Filters on this visual section and select Goal 1

expand_fileter_drag

32. Click on the format icon ( ) for the Stacked Column Chart visual, expand Title and edit the title to Goal 1 Completion%

goal1_completion

33. Turn on the Data Labels Property, Expand Y axis Property and in the End box Type 1

data_labels

Adjust the height and width of the visual.

34. Click on the Stacked Column Chart visual and copy & paste it, Adjust the position on the Report page

Note: It is like MS word Copy (Ctrl + C) and Paste (Ctrl + V)

it_is_like

35. Click on the format icon () for the Stacked Column chart visual, expand Title and edit the title to Goal2 Completion %

click_on_the_format_icon

36. Expand the filters pane, click on the drop down of the Goal Filter on Filters Pane and select Goal 2

notice_that

Notice that the Stacked Column Chart visual is automatically changed to the reflect the data to the Goal 2.

37. Click on the format icon () for the Stacked Column chart visual, expand Data colors property, Change the color to reflect the color for Goal 2 on the Goal Completion % by Goal.

color_the_reflect

38. Click on the Stacked Column Chart visual and copy & paste it, Adjust the position on the Report page

stacked_column_chart

39. Click on the format icon () for the Stacked Column chart visual, expand Title and edit the title to Goal3 Completion %

goal3_comp

40. Expand the filters pane, click on the drop down of the Goal Filter on Filters Pane and select Goal 3

select_goal_3

41. Click on the format icon () for the Stacked Column chart visual, expand Data colors property, Change the color to reflect the color for Goal 2 on the Goal Completion % by Goal.

expend_Colors

42. Click on the Stacked Column Chart visual and copy & paste it, Adjust the position on the Report page

chart_visual

43. Click on the format icon () for the Stacked Column chart visual, expand Title and edit the title to Goal3 Completion %

charts_vis_exp

44. Expand the filters pane, click on the drop down of the Goal Filter on Filters Pane and select Goal 4

select_goal_4

45. From the Home Ribbon, click on the Text Box and type in “Strategic Plan Dashboard” and increase the font size to 21.

text_box

IN THIS ARTICLE

Subscribe for next update

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Get in Touch
November 7, 2023

Introduction to Internet of Things and Data Science

January 10, 2025

Understanding Network Security: Importance and Basics

Understanding Network Security: Importance and Basics. Network security is defined as the activity created to protect.

January 9, 2025

Exploring Data Science Opportunities at Cisco

January 8, 2025

Dynamic Pricing Strategies using Reinforcement Learning

Dynamic Pricing Strategies using Reinforcement Learning and Market Microstructure Analysis. Reinforcement Learning for Dynamic Pricing.

January 7, 2025

Machine Learning Algorithms Overview: Comprehensive Cheat Sheet

ML algorithms are the foundation of modern data science and artificial intelligence. Top Data Science and AI Courses Online.

January 6, 2025

How Differential Privacy is Shaping the Future of Security and Data Protection

The Future of Data Privacy: How Differential Privacy is Shaping the Future of Security and Data Protection of Meritshot.

January 5, 2025

Quantum Machine Learning Algorithms

Implementing Quantum Neural Networks on Hybrid Systems (we’ll build a hybrid quantum-classical neural network for solving high dimensional problems)

October 1, 2024

Data Science: Bridging the Gap Between Data and Decision-Making

Data Science: Bridging the Gap Between Data and Decision-Making. Data science is an interdisciplinary field that blends aspects of mathematics

September 30, 2024

Business Case Study: Amazon Pioneering E commerce and Beyond

Business Case Study: Amazon Pioneering E commerce and Beyond

September 27, 2024

Data Visualization: Unlocking Insights through Visual Storytelling.

Data visualization is a powerful way for people, especially data professionals, to display data so that it can be interpreted easily.

September 26, 2024

Transforming Mobile Payments into a Financial Ecosystem

Paytm, officially known as One97 Communications, has emerged as a leading force in India's digital payment and financial technology sector.

September 25, 2024

Data Science: Bridging the Gap Between Data and Decision-Making

Data science is a rapidly evolving field that combines math and statistics, specialized programming, advanced analytics, (AI) & ML.

August 31, 2024

The Evolution of Big Data And its Applications

Big Data has become ubiquitous, representing the massive volume of structured and unstructured data generated by various sources.

August 29, 2024

Covid-19 Impact on online shopping trends: Accerating Digital Transformation

E-commerce platforms responded to increased demand by improving websites, enhancing user experiences, and offering more delivery choices.

August 28, 2024

Deep Reinforcement learning is a type of machine learning in Decision-Making

Reinforcement learning is a type of machine learning where a computer program. Importance of Reinforcement Learning in Decision-Making

August 27, 2024

Predictive Analytics: Forecasting Trends and Patterns

Predictive Analytics: Forecasting Trends and Patterns and data science course in meritshot. Predictive analytics, a branch in the domain.

August 26, 2024

Robust Machine Learning: Building Models Resilient to Adversarial Attacks

February 24, 2024

Introduction to Bayesian Statistics: Basic Concepts and Applications

introduction to Statistical inference, Statistical modelling, Design of experiments, Statistical graphics to model all sources of uncertainty in statistical models

February 20, 2024

A beginner- friendly guide to understanding Machine learning concept using python

Machine Learning is the field of Python is an interpreted, object-oriented, high-level programming language research and development.

February 18, 2024

Using Power BI for reporting and analysis

February 2, 2024

Overview of Power BI and its Components

January 20, 2024

15 Exciting Data Science Project Ideas for the Healthcare Domain!!!

The healthcare industry is a complex and data-intensive sector, generating massive amounts of data every day.

January 18, 2024

Big Data: A Comprehensive Guide to Apache Hadoop, MapReduce, and Spark

Navigating the Seas of Big Data: A Comprehensive Guide to Apache Hadoop, MapReduce, and Spark. Understanding Big Data Technology

January 12, 2024

Data Science Applications: Explore how data science is applied in various domains

Explore how data science is applied in various domains, such as finance, healthcare, marketing, and social sciences

January 11, 2024

Difference between Machine Learning, Deep Learning, and NLP with Examples

January 8, 2024

Introduction to Supervised Machine Learning

January 6, 2024

What is the difference between Supervised and Unsupervised Learning?

January 5, 2024

Data science projects on Supply Chain Domain

15 Interesting ideas for Data science projects on Supply Chain Domain. Supply chain management is a multifaceted process.

January 4, 2024

Introduction to Machine Learning in Industry

January 3, 2024

Data Science Project Ideas for Healthcare Domain

Unlocking the Power of Data Science in Healthcare: Transforming Patient Outcomes and Operational Efficiencies

January 2, 2024

Data Science project ideas for Ecommerce Domain

January 1, 2024

Top 6 Data Science Project ideas for BFSI Domain

November 14, 2023

Data Science in Marketing: Leveraging Customer Insights

Data Science in Marketing: Leveraging Customer Insights. Data Science has revolutionized the field of Marketing.

November 2, 2023

10 Interesting NLP Project ideas for beginners

10 Interesting NLP Project ideas for beginners. Build a model that can classify text into different categories.

October 26, 2023

6 Interesting deep learning project ideas for beginners

Deep learning is a subfield of machine learning that uses artificial neural networks to model and solve complex problems.

October 21, 2023

5 Interesting data science project ideas for beginners

December 24, 2024

The 5 Human Senses in the Modern Workplace

Exploring How Sight, Sound, Smell, Taste, and Touch Influence Employee Experience, Focus, and Performance in the Evolving Workspace

September 11, 2025

naina blog

2

workou always

thing