Curso Básico Power BI - Aula 1 - Introdução ao Power BI

Curso Básico Power BI - Aula 1 - Introdução ao Power BI

Introduction to Power BI

Overview of the Course

  • The course aims to take beginners from zero knowledge of Power BI to creating their first analyses and dashboards.
  • A downloadable file link is provided in the video description for viewers to follow along with practical exercises.

What is Power BI?

  • Power BI, created by Microsoft, is a Business Intelligence (BI) tool designed to consolidate various company data into one place for better decision-making.
  • It helps users analyze factors affecting employee turnover, sales fluctuations, and customer service metrics through data visualization.

Installation of Power BI

Download Options

  • Users can download Power BI for free either via Google or through the Microsoft Store; however, the latter is recommended for automatic updates.
  • The Microsoft Store version ensures that users receive updates without needing to manually download new versions.

Understanding Power BI's Interface

Main Components

  • The interface consists of three main areas:
  • Report View: Where visualizations and graphs are displayed.
  • Data View: Displays tables with all relevant information such as columns and rows.
  • Model View: Used for managing relationships between multiple tables within reports.

Functionality Insights

Getting Started with Power BI

Steps to Import and Prepare Data

  • The initial step in using Power BI is to import data from various sources, such as Excel, databases, or online platforms.
  • Users can bring in data from multiple locations including Google Sheets or any other system their company utilizes for data storage.
  • After importing, the next step involves editing the tables to ensure they are structured correctly for analysis.
  • Creating relationships between multiple tables is essential if users want to combine information into a single report or graph.
  • Formulas and analyses are then created to derive key metrics like average sales or total revenue using DAX (Data Analysis Expressions).

Finalizing Reports and Dashboards

  • The last step within Power BI Desktop is creating reports and dashboards that visualize the imported data effectively.
  • A practical example includes downloading sample datasets from a fictional retail company for hands-on learning.

Understanding Data Structure

  • The datasets include sales history, customer registrations, store details, and product listings which will be analyzed throughout the course.
  • There’s no specific order for importing these tables; each will be brought in one at a time based on necessary edits before integration into Power BI.

Exploring Store Registration Table

  • An example table contains store registration details such as store ID, location (country/city), type of store (physical/online), and manager's name.
  • These datasets typically originate from internal systems where they are exported in a standard format for analysis.

Importance of Editing Within Power BI

  • It’s crucial not to edit the original dataset in Excel since future updates would revert changes made previously; all adjustments should occur within Power BI instead.
  • This approach ensures that when new data is imported later on, it retains its structure without requiring repetitive manual adjustments.

Importing Data into Power BI

Steps to Import Excel Data

  • The process begins by opening Power BI and selecting the option to import an Excel workbook from the Home tab.
  • Users can also choose to import data directly from Excel using a dedicated button, or explore more options through the "Get Data" feature, which includes various sources like SQL databases and CSV files.
  • There are over 100 data source options available in Power BI, including Google Sheets, but the focus here is on importing from Excel.
  • After selecting the desired file (e.g., "Cadastro de Lojas"), a navigation window appears listing all sheets within that workbook for selection.
  • A preview of the selected sheet's contents is displayed, allowing users to check if they want to import it into Power BI.

Options for Data Handling

  • Upon selecting a sheet, users have two main options: "Transform Data" or "Load."
  • The "Load" option imports the table as-is without any modifications, while "Transform Data" allows for pre-import adjustments.
  • Most users opt for "Transform Data," as raw data often requires cleaning or editing before analysis in Power BI.

Understanding Power Query

  • Clicking on "Transform Data" opens Power Query, a tool within Power BI designed for data editing and transformation.
  • An analogy is drawn comparing this process to preparing for an event; just as one would clean up before attending a party, data must be cleaned before analysis in Power BI.

Editing in Power Query

  • In Power Query, it's essential to rename tables intuitively (e.g., changing “Planilha 1” to “Cadastro Lojas”) for better organization and clarity later on.

Data Cleaning in Power BI

Importance of Proper Headers

  • The headers must be positioned at the top of the columns to differentiate them from data entries; otherwise, the software may misinterpret data types.
  • For instance, if "localidade" is not clearly defined as a header, it could be confused with country names.

Initial Data Cleaning Steps

  • Begin by removing unnecessary information such as empty rows and columns. An example includes a completely empty column identified in Power BI.
  • Removing empty rows differs from removing columns; right-clicking on a row does not yield an option for removal.

Using Power Query for Data Management

  • In Power Query, editing rows requires using specific functions rather than manual deletion like with columns.
  • Utilize the "Remove Blank Rows" feature to eliminate any blank entries effectively.

Setting Up Correct Headers

  • After cleaning up the data, ensure that the first row serves as the header by using the "Use First Row as Header" function in Power Query.
  • This action automatically assigns appropriate titles to each column based on their respective first-row values.

Addressing Mixed Information in Columns

  • Identify issues where multiple pieces of information (e.g., country and continent) are stored within a single column, complicating analysis.
  • To facilitate individual analyses (like sales per continent), separate these mixed entries into distinct columns.

Transforming Data Structure

  • Use two main tabs in Power Query: "Transform" for editing existing data and "Add Column" for creating new ones. Focus on transforming current data here.
  • Select the relevant column and use the "Split Column" feature to divide it based on delimiters (e.g., hyphens).

Defining Delimiters for Splitting Data

  • When splitting a column, specify what separates your data—this can include characters or custom delimiters like space-hyphen-space combinations.
  • Ensure that you accurately define your delimiter to avoid incorrect splits; consider spaces around hyphens when necessary.

Finalizing Column Names Post-Split

Power Query: Merging Columns and Data Management

Editing Table Structure

  • The speaker demonstrates how to rename columns in a data table, changing the first column to "Country" and the second to "Continent."
  • Discusses the challenge of analyzing manager performance when names are split into two columns (first name and last name), which complicates generating insights like top-performing managers.
  • Emphasizes the importance of having complete information in one column for effective reporting, suggesting that combining first and last names into a single column is beneficial for analysis.

Merging Columns

  • To merge two columns, the speaker explains selecting both columns while holding down the control key, stressing that selection order matters to avoid inverted results.
  • The process involves navigating to the "Transform" tab and using the "Merge Columns" option, which becomes clickable only when two columns are selected.

Finalizing Column Merge

  • When merging, users can choose a separator (like space) between merged values. The new column will replace both original columns with a user-defined name.
  • The speaker opts for naming the merged column "Manager," ensuring clarity over default naming conventions that may not make sense.

Saving Changes

  • After editing, users should click on "Close & Apply" in Power BI to save changes made in Power Query back into their report.
  • All modifications are recorded as applied steps within Power Query, allowing for easy replication of edits when new data is added later.

Automation and Future Steps

  • Highlights that many transformations (like removing blank rows/columns or promoting headers) are automatically detected by Power Query.
  • Once saved, future updates can be done easily without redoing previous work; simply clicking refresh will apply all saved transformations again.

Conclusion of Session

  • The session concludes with loading modified tables into Power BI's report view where all relevant data appears organized.
Video description

CLIQUE AQUI PARA SABER MAIS SOBRE O CURSO COMPLETO POWER BI IMPRESSIONADOR: https://lp.hashtagtreinamentos.com/esperapbiimpressionador?origemurl=hashtag_yt_org_saibamaispbi_37oxzq2pSbI&utm_source=youtube-org&utm_medium=yt-descricao&utm_campaign=treinamento&utm_content=introducao-pbi-8-1&conversion=lespbi-jan-25 PARA ACESSAR O MINICURSO GRATUITO DE POWER BI: https://pages.hashtagtreinamentos.com/inscricao-minicurso-power-bi?origemurl=hashtag_yt_org_minicursopbi_37oxzq2pSbI&utm_source=youtube-org&utm_medium=yt-descricao&utm_campaign=treinamento&utm_content=introducao-pbi-8-1&conversion=lespbi-jan-25 Tutorial para instalar GRATUITAMENTE o POWER BI: https://youtu.be/YO1Tn1z2grE ----------------------------------------------------------------------- 📁 Para Baixar os Arquivos Utilizados, Acesse: https://dlp.hashtagtreinamentos.com/power-bi/arquivo/download?curso=pbi&id=1JBbMlg4ZV3CpdBm78j3Kg3EZtKA-CGrg&origemurl=hashtag_yt_org_planilhapbi_37oxzq2pSbI&utm_source=youtube-org&utm_medium=yt-descricao&utm_campaign=treinamento&utm_content=introducao-pbi-8-1&conversion=lespbi-jan-25 💻 Vídeo recomendado: Curso Básico de Power Query - Aula 1 - Introdução ao Power Query https://youtu.be/2FT7MDDREwg ----------------------------------------------------------------------- Caso prefira o vídeo em formato de texto: https://www.hashtagtreinamentos.com/curso-basico-de-power-bi ----------------------------------------------------------------------- PARA CONTRATAR A HASHTAG PARA SUA EMPRESA: https://www.hashtagtreinamentos.com/treinamentos-corporativos?fonte=yt&origemurl=hashtag_yt_org_incompany_37oxzq2pSbI&utm_source=youtube-org&utm_medium=yt-descricao&utm_campaign=treinamento&utm_content=introducao-pbi-8-1&conversion=lespbi-jan-25 ----------------------------------------------------------------------- Hoje nós vamos dar início ao Curso Básico Power BI para que você consiga sair do zero em Power BI e consiga criar o seu primeiro dashboard. Nessa primeira aula, eu vou abordar uma introdução ao Power BI, vou te ensinar como fazer o download e instalação do programa. Como é o ambiente do Power BI, qual é a lógica do programa e vamos partir para a primeira tarefa, que é uma das mais importantes. Vamos importar uma base de dados e fazer o tratamento de dados (limpeza de dados). Esse passo é muito importante, pois é isso que vai garantir que os seus dados estão prontos para serem analisados de forma correta! ----------------------------------------------------------------------- Hashtag Treinamentos ► Inscreva-se em nosso canal: https://bit.ly/2O6A4RP ► Ative as notificações (clica no sininho)! ► Curta o nosso vídeo! ----------------------------------------------------------------------- Redes Sociais ► Blog: https://bit.ly/2MRUZs0 ► YouTube: https://bit.ly/2O6A4RP ► Instagram: https://bit.ly/2F7B6t4 ► Facebook: https://bit.ly/2UA4SwY ► Telegram: https://t.me/joinchat/AAAAAFVJr0C7Il-tVurdUw ► Tik Tok: https://bit.ly/3dUpwkW Para receber conteúdo diário de Excel, VBA e Microsoft Power BI gratuitamente, entre em nosso grupo do Telegram: https://t.me/joinchat/AAAAAFVJr0C7Il-tVurdUw Em nossos vídeos ensinamos diversas dicas de Power BI e truques de Power BI para que você consiga impressionar utilizando essa ferramenta no mercado de trabalho! ----------------------------------------------------------------------- Conteúdo da Aula 00:00 Introdução 00:42 O que é Power BI 02:18 Instalação do Power BI 03:38 Lógica do Power BI 05:20 Arquivo em branco 05:45 Passo a passo no Power BI (análise de dados e dashboard) 08:07 Importar dados para o Power BI 14:27 Transformar dados (tratamento de dados/limpeza de dados) 18:52 Remover linhas 20:00 Usar primeira linha como cabeçalho 20:28 Edições na tabela (guias transformar e adicionar coluna) 26:14 Etapas aplicadas (histórico das ações) 27:28 Fechar e aplicar (enviar os dados para o Power BI) 28:04 Salvar o arquivo 28:37 Conclusão #powerbi #pbi #hashtagtreinamentos

Curso Básico Power BI - Aula 1 - Introdução ao Power BI | YouTube Video Summary | Video Highlight