Skip to content
TRitzen edited this page Dec 5, 2024 · 11 revisions

Welcome to the 1cho_ins_visualisation_powerbi wiki!

In this wiki information can be found on the dashboard, the datafile, and on power BI in general.

Help using this dashboard

Using parameters

This dashboard makes use of parameters. Parameters are used to give some variability to the visuals without the need to tinker with the powerquery.

Current year parameter

This parameter changes which year is considered to be the current academic year. When a new 1cHO inscrijvingen instellingsbestand is received this parameter can be set to one year later. Making it so that certain measures and visuals will now sow the newly set academic year to be the current year.

Nationaliteit 1, 2 & 3

These parameters change which nationality is shown in the visuals. They are currently set on Dutch, German, and Belgian, but can be changed to fit the need of the user. In total the visuals show 5 different nationality groups: The three chosen parameter nationalities and then EEA-other and non-EEA-other. The chosen nationalities in the parameters will automatically not be included in the EEA-other and non-EEA-other categories. This is set in the powerquery.

The parameters are based on the codes for the nationalities in the 1cHO file and as such you will need to know the codes used if you want to change them. The codes can be found in the dec_nationaliteiten file included in this repository. This dec file is also used in the visualisations to sow the name of the nationality instead of the code.

Help using power BI

Here you can find some tips and tricks for using power BI.

Bookmarks

Bookmarks are a way in power BI to add extra flexibility to your visuals in your report. Bookmarks create a saved state of your selected (or all) visuals on your page which you can refer back to by the use of buttons or other objects in your report. There is a "Guy in a Cube" video which explains the use of bookmarks perfectly.

In short you can create bookmarks by going to ‘View’ in the ribbon and then click on ‘Bookmarks’:

Bookmark selection

If you want to create a bookmark of the state of all your visuals on your current page as they are currently (so for instance with certain filters set and certain visuals hidden) just click on ‘Add’ in the bookmark menu:

add bookmark

That does it! Now you created a state of ALL of your visuals.

However, the most likely situation is that you want to create a saved state of only SOME of your visuals. What you have to in such a case is first select the visuals included in your bookmark and again click on 'Add' as in the step described above.

Next, select your created bookmark in the bookmark menu and select ‘Selected visuals’:

Selection bookmark visuals

There is also a 'Data' option already selected in this menu. This selection makes it so that the current data shown in your visuals will also be remembered. This may be what you want, however if you do not want to remember filtered values in your bookmark you can deselect ‘Data’.

How to overlay

Callouts complete

In order to make sure your organisation knows how to use your dashboards an information overlay might be a good idea. For the user this is a very easily accessible tool to use, without the need to read entire manuals or watch several videos with explanation.

Make sure that your dashboard is finalised before you start working on the overlay. Because otherwise you will have to change the overlay every time something changes position in your dashboard. This particular overlay is created in Microsoft PowerPoint, but any image editor will do. The rest of the How To will discuss the steps taken with PowerPoint.

First, make sure that your image editor has the same dimensions as dashboard (standard Power BI is 16:9). You should also make sure that you are getting the best resolution possible. Standard PowerPoint settings give the slide the following width and height:

Standard powerpoint slide size

However, you should adjust this to the following width and height (if you are working with the standard 16:9 dimension in Power BI):

Adjusted powerpoint slide size

Go to ‘Design’ in the ribbon, then click on ‘Slide Size’, and finally on ‘Custom Slide Size’ in order to change this:

Ribbon slide size

Now take a screenshot of the report page for which you are designing the overlay and upload it in PowerPoint and ensure the screenshot covers the entire slide:

Screenshot dashboard

Now insert a rectangle shape and make sure it covers the entire slide:

Rectangle

Give the rectangle the colour of your choice (I gave it the main theme colour) and make the shape transparent (I use 80% transparency):

Buttons fill aanpassen

Transparancy

Now you can add some comments that you want your user to see. In my example we are using callouts, but you can do whatever you see fit to give as input to your users:

Callouts

After adding some comments your overlay might look something like this:

Callouts complete

Now for the final part you will need to make sure that the transparency remains intact. Therefore, you cannot use the normal save function that PowerPoint provides. Instead, select any of your shapes and go to ‘Shape Format’ in the ribbon and then click on ‘Selection Pane’:

Selection Pane

Now in the selection ensure to select all objects except the screenshot of your dashboard (or delete the screenshot of your dashboard, but still select all other objects!):

Select all

Now right click, ‘save as’ and choose .png as type of picture.

Now you have an overlay that can be used in Power BI! The way this overlay is used in Power BI is by the means of bookmarks. I would recommend giving this page a view in order to get help with using bookmarks: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-bookmarks?tabs=powerbi-desktop. However, here is also a quick overview of using this particular type of bookmark as an overlay.

In your Power BI dashboard go to ‘Insert’ and click on ‘Image’, now select your created overlay:

Insert image overlay

Now make sure the overlay covers the edges:

Edges overlay powerBI

Now for the creation of bookmarks, go to ‘View’ in the ribbon and then click on ‘Bookmarks’:

Bookmark selection

Now select your overlay (only your overlay) and click on ‘Add’ in the bookmark menu:

add bookmark

Select your created bookmark in the bookmark menu and deselect ‘Data’ and select ‘Selected visuals’:

Selection bookmark visuals

This will be the bookmark that will make your overlay visible to the users. However, we do not want the overlay to be visible constantly. Therefore, we will need a bookmark that makes sure your overlay is invisible for your users, a default state.

In the ‘View’ ribbon also select ‘Selection’. This will show you all of the different elements in your dashboard. The elements will get standard names from Power BI (the overlay will be named picture), I would suggest renaming the elements so you know what you are selecting:

Selection powerBI

Now select your overlay element and click on the little eye icon next to it in the ‘Selection’ menu, after that the element will become invisible but also immediately unselected, reselect the overlay element in the ‘Selection’ menu:

Make invisible

Now add another bookmark by again pressing ‘Add’ in the ‘Bookmark’ menu:

Bookmark add again

Select your second created bookmark in the bookmark menu and deselect ‘Data’ and select ‘Selected visuals’ just as before:

Selection bookmark visuals

Now you have created the two states of your overlay, visible and invisible. Now you want to make sure that people can access both states. You will need a button or another element like a picture which you can click to access the bookmarks.

After you have created whatever you want to use to access the bookmark click on that element, go to ‘Action’ in the Format pane and click on Type ‘Bookmark’ and select your first created bookmark:

Button selection

Hold Ctrl and left-click on your button and you should then get the transparent overlay to pop-up. Now you want to make sure that if your user clicks anywhere the overlay becomes invisible again. Luckily the overlay itself is clickable and covers the entire screen. So select the overlay, go to ‘Action’ in the Format image pane and click on Type ‘Bookmark’ and select your second bookmark (the one that makes the overlay invisible):

invisible maken

Now hold Ctrl and left-click on the overlay and you should go back to your default dashboard view.

One thing to note is that your overlay should always be the top element in your dashboard. Just make sure that the overlay is always the top-item in the selection pane, the ordering here shows which elements are in front of others, with the top one being the element most in front.