Docsity

Power bi lesson cheat sheet, Cheat Sheet of Data Analysis & Statistical Methods

Partial preview of the text

Download Power bi lesson cheat sheet and more Cheat Sheet Data Analysis & Statistical Methods in PDF only on Docsity!

Content

  • Important notes:
    • What is Power BI and Business Intelligence?
    • In what areas can I use Power BI?
    • How can I download Power BI?
    • How much is Power BI? 100% free!!
    • Excel vs Power BI
  • The 7 pillars for Mastering Power BI
  • Knowing Power BI Layout
  • Phase 1: Extract
  • Phase 2: Transform
  • Phase 4: Calculation
  • Phase 5: Visuals
    • What is Data Storytelling?
    • Recommendations

the PDF to help you;

  • All recordings will be available until Sunday;
  • I will provide my solution in Power BI (PBIX file) for those who watch Live on Thursday;
  • And last but not least, pretend you paid a large amount of money to participate in this event, and be committed during this week! I’m pretty sure it will be life- changing to you!! Now, I want to know the experience you guys have with Power BI:
  1. Never used Power BI
  2. Beginner
  3. Intermediate
  4. Expert If you never used, congrats for being here! You are starting a very promising career that is growing more and more. I’m going to start with the basic questions:

What is Power BI and Business Intelligence?

Power BI is a Microsoft tool to create analysis (data analysis), and BI is a process for collecting, analyzing and monitor information you would like to compare/track in your company. The main goal of Power BI/BI is to help you to make better decisions.

In what areas can I use Power BI?

There are no restrictions. All you need is data. I showed some dashboards for Sales, HR, Sales vs Target, and Logistics. You can see that we have an overall information and detailed information in the same dashboard, and also make simulations!

How can I download Power BI?

There are 2 options: By using Microsoft Store or on the website. Go to https://powerbi.microsoft.com/en-us/downloads/ → “Products” → “Power BI Desktop” Figure 1: Downloading Power BI Figure 2 – Downloading Power BI Destktop

The 7 pillars for Mastering

Power BI

  1. Extraction (the data from the source)
  2. Transformation
  3. Modelling (create table relationships)
  4. Calculation (create measures and we build KPI’s)
  5. Visualization
  6. Distribution (publishing)
  7. Automation
  • From 1 to 5 we use Power BI Desktop and it is 100% FREE. This is our Development Environment.
  • From 6 to 7 we use Power BI Service.
  • During Power BI Week we will talk mostly about steps 1 to 5.
  • Steps 6 and 7 are related to the Power BI Service and I recommend you read the following blogpost: https://powerbiexperience.com/en/definitive-guide-power-bi-licensing-free-x- pro-x-a1-x-em1-x-p1/

Knowing Power BI Layout

Report Data Model Figure 4: Options in Power BI Figure 5: Tool bar Getting started with the phases!

Phase 1: Extract

Where does data come from? The data we use in Power BI, usually comes from a database (OLTP database or database transaction). A database is an organizational collection of data, usually stored and accessible electronically from a computer system. When databases are more overly complex, they are often built using a formal design and modeling method. How do you get the data you work with today? Answer me in the chat:

  1. Connecting directly in the transactional database (OLTP)

Figure 7: Removing Empty Rows If you made a mistake, you could undo it in the “Applied Steps”. Figure 8: Delete Applied Steps

After doing this, now we must configurate the header. Figure 9: Using first row as headers

When we use a clustered bar chart, when you click on the options it changes according to your selection, see: Figure 11: Retail information Figure 12: Wholesales information

Figure 13: Online information Any changes you want to make, you have to use the “Format”. When you save the file and find it in a folder, you can compare the size of your file between Power BI and Excel. Power BI compresses the file, and it works faster than Excel. Tell me, if you had an Excel with two files, you would have to use the functions “VLOOKUP” and “XLOOKUP”, but in Power BI is different, is all about modelling, creating relationships between them. Just to contextualize, a look up table known as dimensions, is what defines your business entities such as costumers, products, accounts. It’s your who, what, where and when. And the fact tables that usually have lots of rows and less columns, just like in the example in the video. Tomorrow we are going to talk more about this! The “Extract” function is to keep the data you want. Then click on “Text After Delimiter”, which in this case is after the space. Inside the “Delimiter” blank you click on the space bar, and “ok”.

The in the Product ID change the “ABC” to “123 whole number”. Figure 17: ABC to Whole Number All set, “Close and Apply”. That leaves us with two tables, “Product” and “Revenue”, and I want to compare Sales Amount with Group. Choose the “Table Chart”, then select “Group” and “Sales Amount”. Remember you can configurate in “Format”. It was only possible to make this work because of the relationship that Power BI creates between the tables, since they have a column in common.

Figure 18: Relationship Environment You can see that when the relationship is deleted, it reflects directly in the chart. Understanding 1: many 1 stands to one particularly value in the unique table (Product ID), and the “ * ” for the value that is repeated. Figure 19: 1: M

To create a new measure, you have to right-click on “Revenue” in “Fields” and select “New measure”. Figure 20: Creating new measure The formula you are going to use is: REVENUE = SUM(FREVENUE[SALES AMOUNT])

After doing so, you can see that in “Fields” there is a calculator in the “Revenue”. Figure 21: Measure TIP : TRY TO AVOID USING IMPLICIT MEASURE.