After the data sets have been prepared for analytical consumption, the next logical step is to visualize the data leveraging any commonly available data visualization tool like PowerBI. This lab will help the student understand the power of data visualizations and teach them techniques to enable it.
Students will start this lab by importing the data as prepared in the previous lab into PowerBI They will then work through the steps to visualize these data sets in various charts and graph widgets available in PowerBI. They can also perform some pivoting and other quick analytical functions available in PowerBI. The students will have a PowerBI dashboard that will help them visualize the data in its full glory. An introduction to PowerBI would also be provided (for those unfamiliar with Microsoft PowerBI)
a. Copy and open below link in a new tab. https://www.microsoft.com/en-us/download/details.aspx?id=58494
b. Click on Download.
c. Select the appropriate EXE file as per your system and Click on Next.
d. Once the .exe file is downloaded successfully then open it and complete the installation by opening it.
Selecting a visual you can see there is resize option on the border of visual, you can use that. Also for moving Visual from one place to another, you will see 3 dots after selection of visual, Click on that and drag your mouse by holding click continuously.
Select the visual. Then In Visualization pane 2nd Option is Format Your Visual Button. If you are not selected the visual then you will not able to see this button.
Like other tools you can use CTRL+Z for Undo
This lab will introduce you to Power BI, a widely-used data visualization tool. We will be designing visuals that utilize the output dataset which we stored in the Azure SQL database in Lab-1.
We have Successfully Completed Lab1 with transformation of Data. In Lab2 We are going to create a Power BI Report and Visuals.
2. Enter Username which is provided to you and Click on Submit.
3. Enter Password and Click on Sign in.
4. You might see a prompt like the one pictured below, Click on Ask Later (Note- Whenever you find this prompt click on the Ask Later option)
Now you have successfully logged in to the Power BI service and have completed Task-1 for this lab.
Once you logged into the Power BI service, click on My Workspace.
You will find one report, dataset and a pbix file for reference that we have created already.
Click on Safera Report.
A Report will open, let’s talk about that.
3. In this Visual we have added a Date in Between Filter. Use this Filter to see data between two selected dates.
4. This visual shows the Count Of Incidents as KPI
5. Here we are showing the number of Arrests among all Incidents. Click on any value to see specific related data.
There is another page in this report Block Level Summary. On this page, we are providing all of the information about incidents at the Block level.
So Now Let’s create this report.
3. Click on Create Report.
A new page will load to create reports.
Now that the data is loaded we are going to create a report.
First we’ll add a title to the report.
Click on Text box ( third option in Menu Bar)
Add a title by typing into the text box Summary of incidents
5. Adjust the position of text box, so Click and Hold three dots and move the visuals or resize visual at appropriate position.
6. Click Outside of the text box to deselect this visual. (Note : We will perform this step each time before creating a new visual; if we don’t, when we select a new visual it may apply the new type to the visual we’ve been working on and this can cause errors.)
We have successfully added a title to the report.
Our Next task is to create a Year Filter.
2. We have successfully created a Year Slicer as a filter. Our Next step is to create a KPI to show the count of incidents.
3. Create a treemap to show the number of arrests.
4. Click Format Your Visual.
5. Turn On Data Labels
4. Since we are creating a summary of incidents, we can rename this page to Summary.
5. We are going to show the number of incidents by type.
4. Click Format Your Visual.
5. Turn On Data Labels
6. Let’s create a visual to show the Count of Incidents in a map visual.
5. Click Format Your Visual.
6. Turn On Heat Map option at bottom.
7. Let’s create a new visual which will show a count of incidents according to the date.
4. Click on the DropDown of Date Hierarchy in X-Axis.
5. Select Date instead of Date Hierarchy.
Note : In this visual you will see there is sudden spike that shows there could be some anomaly in the data. Let’s investigate that.
Note: You will see some highlighted points in the visual; those are potential anomalies. Click those points and you will see additional information. After analysing the data Click on the Close Button In the Anomaly Pane
8. We will create a Matrix to analyze data hierarchically.
Note: In the Matrix visual there is a + button that is visible under Comunity Area; Expand that Community Area, under that Beat is there and by expanding Beat there is Block.
We will add sparklines into matrix visual to understand data in better way.
9. We have successfully created Summary Report. Our next task is to create a Block Level Details report.
10. Create a filter on the basis of Arrest.
11. Let’s Create a date filter.
12. Now create a table to show block level details.
13. Create a Card to show the Block Name.
14. We will add a bar chart visual to show Count of Incidents By Type.
15. Let’s Create a KPI to show the count of incidents.
16. We will add one more visual to see count of incident by date.
17. Now Save this Report.
We have completed our report creation. This is a reference page that shows what we have created.
We have completed all steps for Lab2.