Lab 4
Lab 4
Level 2 LIG
Course Business Intelligence and Data Analytics
Teacher HASSANI Asma
University Year 2024-2025
Objective: In this lab, students will use Power Query, DAX (Data Analysis Expressions),
and Power BI visualizations to create an interactive financial dashboard.
Case study
Your manager wants to see a report on your latest sales figures. They've requested an executive
summary of:
1 BIDA_2025
Dr. Asma Hassani
The top data cleaning step users do most often is changing data types. In this case, the units
sold are in decimal form. It doesn’t make sense to have 0.2 or 0.5 of a unit sold, does it? So
let’s change that to whole number.
3. Select the Segment column. We want to make the segments easier to see in the chart later, so
let’s format the Segment column. On the Transform tab, select Format, then
select UPPERCASE.
4. Let's shorten the column name from Month Name to just Month. Double-click the Month
Name column, and rename to just Month.
5. In the Product column, select the dropdown and clear the box next to Montana.
We know the Montana product was discontinued last month, so we want to filter this data
from our report to avoid confusion.
6. You see that each transformation has been added to the list under Query Settings in Applied
Steps.
Now that you've transformed and loaded your data, it's time to create your report. In the Fields
pane on the right, you see the fields in the data model you created.
Let’s build the final report, one visual at a time.
2 BIDA_2025
Dr. Asma Hassani
Visual 1: Add a title
1. On the Insert ribbon, select Text Box. Type “Executive Summary – Finance Report”.
2. Select the text you typed. Set the font size to 20 and bold.
3. Resize the box to fit on one line.
Now, you create a line chart to see which month and year had the highest profit.
1. From the Fields pane, drag the Profit field to a blank area on the report canvas. By default,
Power BI displays a column chart with one column, Profit.
2. Drag the Date field to the same visual. If you created a Calendar table drag the Date field
from your Calendar table instead.
Power BI updates the column chart to show profit by the two years.
3. In the Fields section of the Visualizations pane, select the drop-down in the Axis value.
Change Date from Date Hierarchy to Date.
Power BI updates the column chart to show profit for each month.
4. In the Visualizations pane, change the visualization type to Line chart.
Now you can easily see that December 2014 had the most profit
1. In the Fields pane, select the Date field in the Financials table. Drag it to the blank area on
the left of the canvas.
2. In the Visualizations pane, choose Slicer.
Power BI automatically creates a numeric range slicer.
3. You can drag the ends to filter, or select the arrow in the upper-right corner and change it to a
different type of slicer.
4 BIDA_2025
Dr. Asma Hassani
2. Select Visual 3. In the Map styles section, change Theme to Grayscale. In the Title section,
change title Text size to 16 pt. Toggle Shadow to On.
3. Select Visual 4. In the Title section, change title Text size to 16 pt. Toggle Shadow to On.
4. Select Visual 5. In the Selection controls section, toggle Show "Select all" option to On. In
the Slicer header section, increase Text size to 16 pt.
5. Finished report
Here's how your final polished report will look:
To share your report with your manager and colleagues, publish it to the Power BI service. When
you share with colleagues that have a Power BI account, they can interact with your report, but
can’t save changes.
1. In Power BI Desktop, select Publish on the Home ribbon.
5 BIDA_2025
Dr. Asma Hassani
You may need to sign in to the Power BI service.
2. Select a destination such as My workspace in the Power BI service > Select.
3. Select Open 'your-file-name' in Power BI.
Your completed report opens in the browser.
4. Select Share at the top of the report to share your report with others.
6 BIDA_2025
Dr. Asma Hassani