Module Five: Data Visualizations and Reports
π Module Five: Data Visualizations and Reports
Welcome back, young data artist! Today we learn how to tell stories with data using visualizations.
π Module Introduction
In Module Four, you learned how to create powerful calculations with DAX. Now you have the numbers. But how do you show them to others? That is where data visualizations come in.
Imagine you have a story to tell. You could just read it out loud, but it would be much more interesting with pictures. Data visualizations are the pictures for your data.
Power BI has many types of visualizations. You can use bar charts, line charts, pie charts, maps, and many more. Each one is good for showing different things.
In this module, you will learn about the core visuals, advanced visuals, and how to format them. You will also learn about slicers, filters, and bookmarks to make your reports interactive.
π‘ Think about it: Have you ever seen a chart that made you understand something better? That is the power of visualizations.
π― Learning Objectives
By the time you finish this module, you will be able to:
- Explain what data visualizations are and why they are important.
- Identify the core visuals in Power BI.
- Create bar charts, line charts, pie charts, and other visuals.
- Use advanced visuals like scatter plots and decomposition trees.
- Format and customize your visuals.
- Use conditional formatting to highlight important data.
- Add slicers and filters to make reports interactive.
- Use bookmarks and buttons for navigation.
- Give examples of visualizations in Nigerian businesses.
π Warm-up Story: Ada's Art Gallery
Ada is a 12-year-old girl who loves art. She wanted to show her family her drawings. She put them all on the wall, but they were messy and hard to see.
Her uncle, who works with data, said, "Ada, you need to organize your art. You should group similar drawings together and put them in a nice gallery."
Ada organized her drawings by colour, size, and subject. She made a beautiful gallery. Her family could see her art clearly and appreciate it.
Her uncle said, "Data visualizations are like your art gallery. They help people see and understand your data."
π§ Think about it: Have you ever organized something to make it look better? That is what visualizations do for data.
π Main Lessons
1. What are Data Visualizations?
Definition: Data visualizations are pictures that show your data. They include charts, graphs, and maps.
Why it is important: Visualizations make it easy to understand data. A picture is worth a thousand numbers.
Simple explanation: Think of visualizations like pictures that tell a story about your data.
π« School example: A teacher uses a bar chart to show student grades.
π Home example: Your parents use a pie chart to show expenses by category.
π³π¬ Nigerian example: A business uses a line chart to show sales over time.
π Mini summary: Data visualizations are pictures that help you understand data.
2. Core Visuals in Power BI
Definition: Core visuals are the basic chart types in Power BI. They include bar charts, line charts, pie charts, and more.
Why it is important: Core visuals are the most commonly used charts. You will use them in almost every report.
Simple explanation: Think of core visuals like the basic tools in a toolbox. You will use them all the time.
π Bar Chart
Compare categories
Sales
200| ββββββββ
150| ββββββ
100| ββββ
50| ββ
0|_______
A B C D
π Line Chart
Show trends over time
Sales
200| *--*--*
150| * *
100|* *
50| *
0|___________
Q1 Q2 Q3 Q4
π₯§ Pie Chart
Show proportions
A (25%)
/ \
/ \
| B |
| (50%) |
\ /
\____/
C (25%)
π Matrix
Cross-tabulation
Region | Lagos | Abuja | Kano
--------|-------|-------|------
Sales | 100 | 80 | 60
Profit | 20 | 15 | 10
π Table
Detailed data view
Product | Sales | Profit
--------|-------|-------
A | 100 | 20
B | 80 | 15
C | 60 | 10
πΊοΈ Map
Geographic data
+-------------------+
| Lagos β |
| Abuja β |
| β Kano |
+-------------------+
- Bar Chart: Best for comparing categories.
- Line Chart: Best for showing trends over time.
- Pie Chart: Best for showing proportions.
- Matrix: Best for cross-tabulations.
- Table: Best for detailed data.
- Map: Best for geographic data.
π Mini summary: Core visuals are the basic chart types in Power BI.
3. Advanced Visuals
Definition: Advanced visuals are more complex chart types. They include scatter plots, waterfall charts, and decomposition trees.
Why it is important: Advanced visuals help you answer more complex questions.
Simple explanation: Think of advanced visuals like special tools for specific jobs.
π Scatter Plot
Show relationships
Profit
|
200| * *
150| * *
100|* *
50| * *
0|___________
Revenue
π Waterfall
Cumulative effect
+ + -
| | |
| | |
|_____|_____|_____
π³ Decomposition Tree
Drill down into a measure
Total Sales
|
+-- Lagos (40%)
| |
| +-- Store A (25%)
| +-- Store B (15%)
|
+-- Abuja (35%)
| |
| +-- Store C (20%)
| +-- Store D (15%)
π Mini summary: Advanced visuals help you answer complex questions.
4. Creating a Visualization
Definition: Creating a visualization means dragging fields to build a chart.
Why it is important: This is how you turn data into pictures.
Simple explanation: Think of it like painting with data.
- Step 1: Select a visual from the Visualizations pane.
- Step 2: Drag a field to the Axis or Category area.
- Step 3: Drag a field to the Values area.
- Step 4: Your chart appears!
Example: Bar Chart
Axis: Region
Values: Sales
π Mini summary: Creating a visualization is easy β just drag and drop.
5. Formatting Your Visuals
Definition: Formatting means changing the look of your visual. You can change colours, fonts, and more.
Why it is important: Formatting makes your visuals look professional and easy to read.
Simple explanation: Think of formatting like decorating your visual.
- Colours: Change the colours of bars or lines.
- Labels: Show or hide data labels.
- Titles: Add or change the title.
- "example-box">
π« School example: A teacher changes the colours of a bar chart to match the school colours.
π Home example: Your parents change the font size to make it easier to read.
π³π¬ Nigerian example: A business uses green and white colours for a Nigerian theme.
π Mini summary: Formatting makes your visuals look professional.
6. Conditional Formatting
Definition: Conditional formatting changes the appearance of a visual based on the data.
Why it is important: Conditional formatting helps you highlight important data.
Simple explanation: Think of conditional formatting like a highlighter that draws attention to important numbers.
- Data bars: Add bars to a table or matrix.
- Colour scales: Use colours to show values (e.g., green for high, red for low).
- Icons: Add icons like arrows or flags.
π« School example: A teacher uses colour scales to show high and low grades.
π Home example: Your parents use data bars to show expense amounts.
π³π¬ Nigerian example: A business uses icons to show sales performance.
π Mini summary: Conditional formatting highlights important data.
7. Slicers β Interactive Filters
Definition: A slicer is a visual that lets users filter data.
Why it is important: Slicers make your reports interactive.
Simple explanation: Think of a slicer like a remote control that lets you choose what to see.
- List slicer: Shows a list of values.
- Dropdown slicer: Shows a dropdown menu.
- Date slicer: Shows a date range.
π« School example: A teacher uses a slicer to select a specific class.
π Home example: Your parents use a date slicer to choose a month.
π³π¬ Nigerian example: A business uses a region slicer to select a region.
π Mini summary: Slicers make your reports interactive.
8. Filters
Definition: Filters are used to control what data is shown in a visual.
Why it is important: Filters help you focus on specific data.
Simple explanation: Think of filters like a magnifying glass that focuses on specific data.
- Visual-level filter: Filters one visual.
- Page-level filter: Filters all visuals on a page.
- Report-level filter: Filters all pages in a report.
π« School example: A teacher filters a visual to show only Grade 5 students.
π Home example: Your parents filter a visual to show only food expenses.
π³π¬ Nigerian example: A business filters a visual to show only Lagos sales.
π Mini summary: Filters help you focus on specific data.
9. Bookmarks and Buttons
Definition: Bookmarks capture the current state of a report. Buttons are used to navigate.
Why it is important: Bookmarks and buttons make your reports interactive and easy to navigate.
Simple explanation: Think of bookmarks like saving your place in a book.
- Bookmarks: Save the state of a page.
- Buttons: Navigate to a different page or state.
- Selections: Control what is shown.
π« School example: A teacher creates a bookmark for each class.
π Home example: Your parents create a bookmark for each month.
π³π¬ Nigerian example: A business creates a bookmark for each region.
π Mini summary: Bookmarks and buttons make reports interactive.
10. Drill-Through and Drill-Down
Definition: Drill-through lets you navigate to a detailed page. Drill-down lets you see more detail in a visual.
Why it is important: These features help users explore data.
Simple explanation: Think of drill-through like zooming in on a picture.
- Drill-down: Click on a visual to see more detail.
- Drill-through: Right-click to go to a detailed page.
π« School example: A teacher drills down from class to student.
π Home example: Your parents drill down from category to item.
π³π¬ Nigerian example: A business drills down from region to store.
π Mini summary: Drill-through and drill-down help users explore data.
π Key Vocabulary
| Word |
Simple Meaning |
| Visualization |
A picture of your data. |
| Bar Chart |
A chart with bars for categories. |
| Line Chart |
A chart showing trends over time. |
| Pie Chart |
A chart showing proportions. |
| Matrix |
A cross-tabulation table. |
| Table |
A detailed data view. |
| Map |
A visual for geographic data. |
| Scatter Plot |
A chart showing relationships. |
| Waterfall Chart |
A chart showing cumulative effect. |
| Decomposition Tree |
A chart for drilling down into a measure. |
| Slicer |
A visual for filtering. |
| Filter |
Controls what data is shown. |
| Bookmark |
Captures the state of a report. |
| Button |
Used for navigation. |
| Drill-through |
Navigate to a detailed page. |
| Conditional Formatting |
Formatting based on data. |
π§© Important Concepts
- Visualizations are pictures of your data.
- Core visuals include bar charts, line charts, and pie charts.
- Advanced visuals include scatter plots and decomposition trees.
- Formatting makes your visuals look professional.
- Conditional formatting highlights important data.
- Slicers and filters make reports interactive.
- Bookmarks and buttons help with navigation.
- Drill-through and drill-down help explore data.
- Nigerian businesses use visualizations to make decisions.
π Step-by-Step Explanations
How to create a bar chart
- Open Power BI Desktop: Open your report.
- Select Bar Chart: Click the bar chart icon in the Visualizations pane.
- Add Axis: Drag a field to the Axis area (e.g., Region).
- Add Values: Drag a field to the Values area (e.g., Sales).
- See the chart: Your bar chart appears!
How to add a slicer
- Select Slicer: Click the slicer icon in the Visualizations pane.
- Add Field: Drag a field to the slicer (e.g., Region).
- Use the slicer: Click on a value to filter your report.
π Real-life Examples
- School: A teacher uses a bar chart to show grades.
- Hospital: A hospital uses a line chart to show patient admissions.
- Restaurant: A restaurant uses a pie chart to show sales by category.
- Shop: A shop uses a map to show store locations.
π³π¬ Nigerian Examples
- Paystack: Uses bar charts to show transaction volumes.
- Flutterwave: Uses line charts to show payment trends.
- MTN Nigeria: Uses maps to show network coverage.
- A Lagos supermarket: Uses pie charts to show sales by category.
- A Nigerian bank: Uses waterfall charts to show profit breakdown.
π Fun Examples for You
- Your pocket money: Use a bar chart to show your spending.
- Your game scores: Use a line chart to show your progress.
- Your reading log: Use a pie chart to show book genres.
- Your chores: Use a matrix to show completion by day.
π Everyday Examples
- At home: Your parents use visualizations to track expenses.
- At school: Your teacher uses visualizations to show grades.
- In your community: Local businesses use visualizations to track sales.
- In your own life: You can use visualizations to track your goals.
π©βπ« Teacher Notes
- Encourage students to think about visualizations they see in everyday life.
- Use the warm-up story to spark interest in visualizations.
- Demonstrate creating different types of charts in Power BI.
- Discuss the importance of choosing the right chart for the data.
- Ask students to think about how visualizations are used in Nigerian businesses.
πͺ Parent Tips
- Talk to your child about visualizations you see in news or business.
- Show your child how you create charts in Excel or other tools.
- Encourage your child to create their own visualizations.
- Share examples of visualizations from Nigerian businesses.
- Help your child create a simple chart in Power BI.
π§ Interesting Facts
- The first bar chart was created in 1786.
- Pie charts were invented in 1801.
- Line charts are the oldest type of chart.
- Maps are one of the oldest visualizations.
- Power BI has over 50 built-in visuals.
π‘ Did You Know?
- Did you know that visualizations help you understand data faster?
- Did you know that you can create maps of Nigeria in Power BI?
- Did you know that conditional formatting can highlight top performers?
- Did you know that slicers make reports interactive?
- Did you know that Nigerian businesses use Power BI visualizations?
π Remember This
- Visualizations are pictures of your data.
- Core visuals include bar charts, line charts, and pie charts.
- Advanced visuals include scatter plots and decomposition trees.
- Formatting makes your visuals look professional.
- Conditional formatting highlights important data.
- Slicers and filters make reports interactive.
- Bookmarks and buttons help with navigation.
- Drill-through and drill-down help explore data.
β οΈ Common Mistakes
- Using the wrong chart: Choose the right chart for your data.
- Too many colours: Use colours wisely.
- No title: Always add a title.
- Too much data: Don't overload your visual.
- Ignoring formatting: Formatting makes your visual look professional.
β¨ Best Practices for Visualizations
- Choose the right chart for your data.
- Keep it simple β don't overload with data.
- Use colours wisely β avoid too many colours.
- Add clear titles and labels.
- Use conditional formatting to highlight important data.
- Add slicers and filters for interactivity.
- Test your visualizations with users.
- Keep learning new visualization techniques.
π Clear Illustrations
1. Core Visuals
+-------------------+
| Bar Chart | β Compare categories
| Line Chart | β Show trends
| Pie Chart | β Show proportions
| Matrix | β Cross-tabulate
| Table | β Show details
| Map | β Geographic data
+-------------------+
2. Advanced Visuals
+-------------------+
| Scatter Plot | β Show relationships
| Waterfall | β Cumulative effect
| Decomposition | β Drill down into a measure
+-------------------+
3. Interactive Features
+-------------------+
| Slicer | β Filter data
| Filter | β Control data
| Bookmark | β Save state
| Button | β Navigate
| Drill-through | β Go to details
+-------------------+
4. Comparison: Good vs Bad Visualization
| Good Visualization |
Bad Visualization |
| Clear title |
No title |
| Right chart type |
Wrong chart type |
| Simple and clean |
Too much data |
| Colours are consistent |
Too many colours |
| Easy to understand |
Confusing |
π Lesson Summaries
Lesson 1: Visualizations are pictures of your data.
Lesson 2: Core visuals include bar charts, line charts, and pie charts.
Lesson 3: Advanced visuals include scatter plots and decomposition trees.
Lesson 4: Creating a visualization is easy β just drag and drop.
Lesson 5: Formatting makes your visuals look professional.
Lesson 6: Conditional formatting highlights important data.
Lesson 7: Slicers make reports interactive.
Lesson 8: Filters help you focus on specific data.
Lesson 9: Bookmarks and buttons help with navigation.
Lesson 10: Drill-through and drill-down help explore data.
π End-of-Module Summary
In this module, you learned about data visualizations and reports. You discovered the core visuals like bar charts, line charts, and pie charts. You also learned about advanced visuals like scatter plots and decomposition trees. You learned how to format your visuals, use conditional formatting, and add slicers and filters. You also learned about bookmarks, buttons, drill-through, and drill-down.
π― You can now:
- Explain what data visualizations are and why they are important.
- Identify the core visuals in Power BI.
- Create bar charts, line charts, pie charts, and other visuals.
- Use advanced visuals like scatter plots and decomposition trees.
- Format and customize your visuals.
- Use conditional formatting to highlight important data.
- Add slicers and filters to make reports interactive.
- Use bookmarks and buttons for navigation.
- Give examples of visualizations in Nigerian businesses.
β Frequently Asked Questions
1. What are data visualizations?
Visualizations are pictures of your data.
2. What are core visuals?
Core visuals include bar charts, line charts, and pie charts.
3. What are advanced visuals?
Advanced visuals include scatter plots and decomposition trees.
4. Why is formatting important?
Formatting makes your visuals look professional.
5. What is conditional formatting?
Conditional formatting highlights important data.
6. What is a slicer?
A slicer is a visual for filtering data.
7. What is a filter?
A filter controls what data is shown.
8. What is a bookmark?
A bookmark captures the state of a report.
9. What is drill-through?
Drill-through navigates to a detailed page.
10. How do Nigerian businesses use visualizations?
They use them to make better decisions.
π Review Questions (15)
- What are data visualizations?
- What are core visuals?
- What are advanced visuals?
- Why is formatting important?
- What is conditional formatting?
- What is a slicer?
- What is a filter?
- What is a bookmark?
- What is drill-through?
- Give an example of a bar chart.
- Give an example of a line chart.
- Give an example of a pie chart.
- How do Nigerian businesses use visualizations?
- What is the best practice for choosing a chart?
- What is the best practice for formatting?
βοΈ Fill-in-the-Blank Exercises
- Data __________ are pictures of your data.
- A __________ chart is used to compare categories.
- A __________ chart is used to show trends over time.
- A __________ chart is used to show proportions.
- A __________ is a visual for filtering data.
β
True or False Exercises
- Data visualizations are pictures of your data. (True)
- Bar charts are used to show trends over time. (False)
- Pie charts are used to show proportions. (True)
- Slicers are used for filtering. (True)
- Conditional formatting is not important. (False)
π Multiple Choice Questions
- What are data visualizations?
A) Pictures of your data B) Numbers C) Text D) Sounds
Answer: A
- Which chart is used to compare categories?
A) Bar chart B) Line chart C) Pie chart D) Map
Answer: A
- Which chart is used to show trends over time?
A) Bar chart B) Line chart C) Pie chart D) Map
Answer: B
- Which chart is used to show proportions?
A) Bar chart B) Line chart C) Pie chart D) Map
Answer: C
- What is a slicer?
A) A visual for filtering B) A visual for showing trends C) A visual for showing proportions D) A visual for showing data
Answer: A
- What is conditional formatting?
A) Formatting based on data B) Changing colours C) Changing fonts D) Adding titles
Answer: A
- What is a bookmark?
A) Captures the state of a report B) A visual C) A chart D) A filter
Answer: A
- What is drill-through?
A) Navigate to a detailed page B) A visual C) A chart D) A filter
Answer: A
- Which of these is a core visual?
A) Bar chart B) Scatter plot C) Decomposition tree D) Waterfall
Answer: A
- Which of these is an advanced visual?
A) Bar chart B) Line chart C) Pie chart D) Scatter plot
Answer: D
- What is the best practice for choosing a chart?
A) Choose the right chart for your data B) Always use a pie chart C) Always use a bar chart D) Always use a line chart
Answer: A
- What is the best practice for formatting?
A) Keep it simple B) Use many colours C) No title D) Too much data
Answer: A
- What is a filter?
A) Controls what data is shown B) A visual C) A chart D) A bookmark
Answer: A
- What is a button used for?
A) Navigation B) Filtering C) Formatting D) Creating charts
Answer: A
- How do Nigerian businesses use visualizations?
A) To make better decisions B) To play games C) To watch movies D) To listen to music
Answer: A
π Matching Exercises
Match the word on the left with the correct meaning on the right:
| Word |
Meaning |
| Bar Chart |
Shows proportions |
| Line Chart |
Shows trends over time |
| Pie Chart |
Compares categories |
| Slicer |
Filters data |
Answers: Bar Chart β Compares categories; Line Chart β Shows trends over time; Pie Chart β Shows proportions; Slicer β Filters data.
π Short Answer Questions
- Explain data visualizations in your own words.
- What is the difference between a bar chart and a line chart?
- What is a slicer and why is it useful?
- What is conditional formatting?
- Give an example of a Nigerian business using visualizations.
π Scenario-based Exercises
Scenario 1: A Lagos supermarket wants to show sales by product category. Which visual should they use?
Scenario 2: A Nigerian bank wants to show profit breakdown by branch. Which visual should they use?
π₯ Group Activity
In groups of 4β5, discuss how you would visualize sales data. Create a list of visuals you would use. Present your ideas to the class.
π§ Individual Activity
Think about a dataset you would like to visualize. Write a short paragraph (about 100 words) about the visual you would create.
π£οΈ Classroom Discussion Questions
- Why are visualizations important?
- What is your favourite visual and why?
- How can Nigerian businesses benefit from visualizations?
- What is the most interesting thing you learned about visualizations?
- How do you think visualizations will change in the future?
π οΈ Mini Project
Create a Report with Multiple Visuals
Create a report with at least three different visuals. Include a bar chart, a line chart, and a slicer. Save and share your report.
π Practical Assignment
Use Power BI Desktop to create a bar chart and a line chart. Add a slicer for interactivity. Write a short report (about 150 words) about what you did and what you learned.
π Challenge Exercise
The Challenge: Imagine you are a data analyst in Lagos. You have sales data for four regions. Create a report with a bar chart, a line chart, a pie chart, and a slicer. Make it interactive with bookmarks and buttons.
π Quiz Answers
Multiple Choice: 1-A, 2-A, 3-B, 4-C, 5-A, 6-A, 7-A, 8-A, 9-A, 10-D, 11-A, 12-A, 13-A, 14-A, 15-A
Fill-in-the-Blank: 1. visualizations, 2. bar, 3. line, 4. pie, 5. slicer
True or False: 1. True, 2. False, 3. True, 4. True, 5. False
Matching: Bar Chart β Compares categories; Line Chart β Shows trends over time; Pie Chart β Shows proportions; Slicer β Filters data.
π― Key Takeaways
- Visualizations are pictures of your data.
- Core visuals include bar charts, line charts, and pie charts.
- Advanced visuals include scatter plots and decomposition trees.
- Formatting makes your visuals look professional.
- Conditional formatting highlights important data.
- Slicers and filters make reports interactive.
- Bookmarks and buttons help with navigation.
- Nigerian businesses use visualizations to make better decisions.
π Preparation for Module Six
In the next module, we will explore Dashboards and Storytelling. You will learn how to design professional dashboards and tell compelling data stories.
π Congratulations! You have completed Module Five of the Certified Power BI for Data Analysis Expert course.
π You are now ready to move to Module Six: Dashboards and Storytelling.