No feedback found for this session
BI for Beginners (service version) Session 2
Power BI
beginner
Session materials
Session outline
Visualisation overload!
- we’re going to build several visualisations
- we’ll use some tidied data for this - today is all about using data to do interesting things
- next time, we’ll get into the data wrangling needed to sort that data out
Today’s visualisations
- maps
- column charts
- line graphs
- numeric summaries of data
- filtering and slicing tools
Today’s data
Task
- Start a new report in Power BI
- Open and load the two tables (
gp_size
andweekend_service
) indata/s02_data.xlsx
Loading data reminder
Task
- select
Excel (preview)
- select
Upload file
- now drag your Excel workbook into the Power BI window
Visualising service use
Add a line chart
Task
- Go to the report view
- Go to the visualisation pane, and add a line chart
- Expand it to fill the bottom three-quarters of the visualisation area
Add data
Task
- Click the date column in the data pane, and drag the Date Hierarchy to the X-axis field
- Drag the three site columns to the Y-axis field
Add a slicer
Task
- Click off your line graph, then add a slicer
- Drag the year field from the
Date Hierarchy
into the slicer Field
Task
- Add a second slicer in the same way
- This time, drag the
weekend
column into the Field - Select the Format your visual menu
- Format the slicer to use a dropdown
Add some cards
Task
- Add a card
- Drag
site_a
into the Field - Use the dropdown on
Sum of site_a
to select average - Repeat for
site_b
andsite_c
- Adjust the decimal places via the Callout value section of the format menu
Tidy up the names
Task
- Go round using Rename for this visual to tidy up the names
- Name the page of the report appropriately
End result
GP practice size
Add a map
Task
- Add a new page to your report
- Add a map and expand to fill the left-hand half of the visualisation area
- From the gp_size table, drag the Postcode column to the Location field
- Now drag the ListSize column to the Bubble size field
Format the map
Task
- From the Format visual menu, change the map style to greyscale
- (feel free to play around with the bubble size too)
Colour the bubbles by health board
Task
- Can you find a way of colouring the bubbles by health board?
(add the HBName to the Legend field)
Add a slicer
Task
- Add a slicer for health board
- Use the Format visual options to change this to a dropdown
- Test what happens when you change this
Add a population summary card
Task
- Add a card, and drag the
ListSize
column to the Fields area - Make sure that the SIMD2020v2 value is set to Min
- Add a suitable title and format to suit
Add a column chart
Task
- Add a stacked column chart
- Add the
Name
on the X-axis, theListSize
on the Y-axis, and theHBName
in the legend
Add a column chart showing deprivation scores
Task
- Add another stacked column chart
- Add the
SIMD2020v2_quantile
on the X-axis, and theName
on the Y-axis. Make sure theName
field is set to count
Tidy up the names
Task
- Go round using Rename for this visual to tidy up the names
- Name the page of the report appropriately
End result
Homework tasks
- Is there any relationship between practice size and SIMD2020 deprivation scores in the GP data? How could you show that relationship in a visual?
- Is there any month-to-month or seasonal change in the weekend service use data? How could you show that relationship in a visual?