Power BI from ZERO to Your First Dashboard (in 20 Minutes)
Summary
This tutorial provides a beginner-friendly introduction to Power BI, guiding users through creating their first interactive dashboard in about 20 minutes. It covers installing Power BI Desktop, importing data from Excel and CSV files, transforming and cleaning data using the Power Query Editor, setting up relationships between tables, building various visualizations like bar charts, tables, maps, and line charts, and implementing time intelligence calculations without DAX. Finally, it demonstrates how to publish the report to the Power BI service for web access and sharing, including integration with Microsoft Teams.
Key Insights
Use the Power Query Editor to clean and transform data before loading.
It's best practice to transform data in Power Query Editor to ensure correct data types (e.g., numbers, dates) and clean up inconsistencies, minimizing errors in reporting.
Use relationships rather than merging tables for better model performance.
The tutorial advocates for using relationships between tables (lookup and fact tables) instead of merging all data into one table, which is a more efficient approach for the data model.
Sections
Introduction and Setup
Follow along with provided files to build your first Power BI dashboard.
The tutorial provides necessary files in the video description for users to download and follow along, aiming to create and publish a Power BI dashboard within 20 minutes.
Install Power BI Desktop from the Microsoft Store or Power BI website.
Users can install Power BI Desktop by searching for it in the Microsoft Store or by visiting powerbi.com, navigating to products, and downloading it from there. After installation, log in with a work account.
The main interface includes Report, Data, and Model views.
Upon opening Power BI Desktop, users land on the report tab. The interface provides options to get data and access tutorials. The report view is where visuals are created.
Getting and Transforming Data
Import data from various sources like Excel, CSV, web, and SharePoint.
Power BI allows importing data from numerous sources, including Excel workbooks and text CSV files. Users can select specific files like 'invoice' (CSV) and 'customer master' (Excel) to import.
Use the Power Query Editor to clean and transform data before loading.
It's best practice to transform data in Power Query Editor to ensure correct data types (e.g., numbers, dates) and clean up inconsistencies, minimizing errors in reporting.
Power Query automatically applies steps like promoting headers and changing data types.
Power Query Editor automatically recognizes headers and attempts to set appropriate data types. Users can review and adjust these steps for accuracy. Users can change steps by clicking the 'X' or insert new ones.
Combine separate year, month, and day columns into a single date column.
To enable time intelligence analysis, year, month, and day columns can be merged into a single 'date' column using a separator like a '/'. This new column should be set to the date data type.
Split columns and remove unwanted data using Power Query Editor.
Columns can be split based on delimiters (e.g., splitting city and province by bracket). Unnecessary columns can be removed by selecting them and pressing delete or using the 'Choose Columns' option. Values can be replaced or removed.
All transformation steps are recorded and automatically reapplied to new data.
Power Query logs every transformation step. When new data is loaded or the file is refreshed, these recorded steps are automatically applied, ensuring consistency.
Choose tables over sheets when importing from Excel for cleaner data.
When importing from Excel, it is best practice to select tables if available, as this avoids importing unintended data that might be present on sheets.
Apply transformations and close Power Query Editor to load data into the model.
Once data is transformed, click 'Close & Apply' to load the processed data into the Power BI data model.
Data Modeling and Relationships
Power BI automatically detects and creates relationships between tables.
When data is loaded, Power BI can automatically detect relationships between tables based on matching column names (e.g., Customer ID and Customer Code). This is often enabled by default via 'Auto-detect new relationships' in options.
Manually create relationships by dragging fields between tables if auto-detection fails.
If Power BI does not automatically create a relationship, users can manually define it in the 'Model' view by clicking and dragging a field from one table to the corresponding field in another.
Use relationships rather than merging tables for better model performance.
The tutorial advocates for using relationships between tables (lookup and fact tables) instead of merging all data into one table, which is a more efficient approach for the data model.
Access the data model and edit queries via the 'Data' tab and right-click options.
Users can view loaded data in the 'Data' tab and return to the Power Query Editor by right-clicking a query and selecting 'Edit Query' to add or modify steps.
Creating Visualizations and Reports
Build visuals by selecting fields and choosing chart types from the Visualizations pane.
To create a visual, select fields from the 'Fields' pane and choose a visualization type (e.g., column chart, bar chart) from the 'Visualizations' pane. Power BI automatically generates the visual.
Use slicers to filter report data interactively, such as by year.
Slicers can be added to filter the report. For date hierarchies, select the 'date' field, and Power BI might create a hierarchy (year, month, day). Users can choose dropdown or list views for slicers and format them.
Format visuals to enhance readability and aesthetics.
Visualizations can be customized extensively using the formatting options, including axes, data labels, colors, titles, and tooltips.
Create time intelligence calculations like year-over-year change and year-to-date totals using Quick Measures.
Quick Measures allow users to add common calculations, including time intelligence functions, without writing DAX code. Select 'Quick Measure', choose a calculation type (e.g., 'Year over Year Change'), and specify base value and date fields.
Understand the role of the hidden calendar table created by 'Auto date/time' settings.
Power BI's 'Auto date/time' setting automatically creates a hidden date table, enabling time intelligence features. Advanced users often disable this and create their own explicit calendar tables.
Visualize data geographically using map charts.
Map charts can display data by location (e.g., province and sales). Hovering over map elements reveals details. Map visuals interact with other report elements, acting as filters.
Build tables to display detailed data, including custom calculations.
Table visuals can show detailed rows of data and incorporate calculations like year-over-year percentage change and year-to-date sales.
Insert text boxes for titles and KPI cards to highlight key metrics.
Users can add text boxes for report titles and KPI cards to display single, important metrics like total quantity.
Add multiple pages to a report for better organization.
Reports can be expanded by adding multiple pages, allowing for more organized presentation of different analyses.
Refresh data easily by replacing source files and clicking 'Refresh'.
When new data is available, simply replace the existing source file (e.g., invoice.csv) with the updated version and click 'Refresh' in Power BI to update the entire report.
Write custom DAX formulas for complex calculations using 'New Measure'.
For calculations beyond Quick Measures, users need to learn the DAX (Data Analysis Expressions) language and create new measures by clicking 'New Measure'.
Publishing and Sharing Reports
Publish your Power BI report to the Power BI service to share it online.
Save your Power BI file and then click 'Publish' to send it to the Power BI service. This makes the report accessible via a web browser.
Access and interact with published reports directly on powerbi.com.
Logged-in users can access their published reports on powerbi.com from any web browser, retaining all interactive functionalities.
Share reports with colleagues through links or by embedding them in platforms like Microsoft Teams.
Reports can be shared with specific individuals or groups within an organization. They can also be added as a tab within a Microsoft Teams channel, maintaining interactivity.
Ask a Question
*Uses 1 Wisdom coin from your coin balance









