Powerbi Intro 10
Powerbi Intro 10
PLOTTING
Challenge 5: Solution
This has improved and filtered the data for one visual but what about the rest?
This is where the different filter options are important. Filters on this visual
filters the data only for that visual, the rest of the visuals are unaffected. Filters
on this page filters the data for all visuals on the page. Filters on all pages
filters for all pages on the report. Be aware of this option as this will filter data
values and options on any new visual you create on any page.
As we would like this page to be focussed on the Americas region in 2010 let’s
change the above visual filter into a page filter. This will mean that this page
will only show data from that region and that year. This will also restrict the
end user from looking at other regions or years. What if we would like to give
the user some power in exploring the data? This is where slicers come in.
3.5.1 Slicer:
Slicers allow you to put in controls in which the user can explore the data options.
NOTE: Slicers are affected by Filters so a Slicer for region on the current page
that has a Filter to Americas only will only show the option of Americas.
Let’s go back to our first page and create a few Slicers.
In the chart types, locate Slicer. Create a new blank Slicer chart. Drag and
drop the region column in the data field. We have created a slicer and can
visualize data for each region separately. Since Power BI is highly interactive,
this slicer is applied to all the charts that we have created and will show the
results for selection in the slicer. You can chose to apply slicer to specific charts
by turning it off for other charts. We will cover this in the next section.
Note: Hold the CTRL button to select more than one option. You can also
change the appearance of the slicer the same was as a visual in Format tab.
Select General and change orientation to horizontal for clickable buttons instead
of checkboxes.
36
CHAPTER 3. PLOTTING
Challenge 6: Slicer
Focussing on the Americas region, create a slicer for countries and examine the
differences between Argentina and Bolivia.
Challenge 6: Solution
37
CHAPTER 3. PLOTTING
Selecting None will mean that the related visual will not change depending on
interactions with the selected visual. Change one of the scatter plots to None
and select a different data point on the line chart to see the effect. Select Asia
on the line chart again. Currently the bar chart highlights the relevant section.
Select the filter icon to change and select another data point on the line chart to
see the effect.
Note: existing elements on the page may interfere with the Edit interactions
icons. Resize and move your visuals to avoid this.
This also affects slicers, selecting the slicer will show the same Edit interactions
icons. You may not want the average life expectancy by region visual to change
depending on which countries are chosen. Select the country slicer and select
None on the visual to stop that visual changing due to the options on the slicer.
Every visual interacts with all other visuals individually. Check the Edit
interactions to make sure all your interactions work as expected.
38
Chapter 4
Now that we have visualised the data and created various types of plots we need
to save our visuals.
The file extension for Power BI files is “.pbix”. The .pbix files are highly
compressed file types that contains all the graphics along with the actual data.
Note: If you share your .pbix file with others, your actual data gets shared as
well.
39