Skip to content

sarker2018/Power-BI-Project-Beginner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Power-BI-Project

  • It's a Beginner Level Project
  • One can buy this from Coursera.com or recreate the project by following this .md file as well.
  • I would recommend going to Coursera.com as they are investing their time and resources to create this course.

After following the below steps one should expect to see a Report like this one

grafik

First Experince & data loading

First Impression: Ready to go with...

  • There are three views in the Power BI

    • Report View
    • Data View
    • Model View
  • To get the data from storage, click on the get Data button & select your type of data grafik

  • In the pop-up window we select either load or we can transform if needed. grafik



  • Loading time depends on the type of data we are loading
  • After loading the we data, we see a list of all the available column on the right side of the window grafik

  • After clikcing the table logo on the left side of the window, we can see the data and thier columns. But the columns are not descriptive, although the original data had columns name or description grafik

Fixing the column name problem

  • Source of the dataset is UCI- University of California, Irvine Machine Learning Repository. The dataset is about Credit Cards defaults in Taiwan in the year 2005

  • The right-most column is populated with US states names so that we can later use them to categorised by the states/or geolocations grafik

  • Now we go to Home --> Transform; Here we see the descriptive names of the columns in the raw dataset. grafik

  • Here, we click on Remove Rows --> Remove Top Row; there will be a pop-up window to specify the numbers of rows to be removed. In our case, we specify only one row and click ok button grafik

  • Again we go to Home --> Use first row as Hearders. Now we see that the first is shown as column name. grafik

  • We can double click on any column name and can rename them as we want.

  • To execute the changes, we need to press Home --> Close & Apply button on the left corner of the window

  • If we look at the SEX column, we see that the sex are given in 1 & 2. We can transform them in Male, Female; If there are value other than 1 & 2 we assume that they are unknown. * We can transform them by clicking on the Home --> Transform --> Data Type Whole Number --> Text ; We are doing this step because by default Power BI assumes that the column values are integers, but we need to change them to text so that we can perform our changes.

  • Now we Click on the Change values button and specify 1 = Male and 2 = Female. grafik

  • If we did any mistake in any step, we can go the last correct step by looking at the Applied Steps window on the right side of the P-BI interface. We can also delete some steps if we want. grafik

  • We also need to change the EDUCATION column values to some maning full and descriptive labels. Here, the EDUCATION are are give in 1,2,3 as we before in the SEX column.

  • We can do a trick, we can create a new column called Education and perform logical operation such as If, else, value. This is helpful because we are now performing multiple operation with a single execution.

  • Here we set

   1 = Graduate
   2 = Under Graduate
   3 = High School Diploma
   else = Unknown/ or as described in the original description in the source data.

grafik

  • We can see that the column's values are in descriptive names instead of 1,2 3, grafik

  • Now we can remove the original EDUCATION column by right click --> remove if we want to do.

  • We perform the same operation on the MARRIAGE column,

   1 = Married
   2 = Un Married
   else = Unknown

grafik

Visualisation & Report

  • Click on the report view on the top-left of the three view options grafik

  • Now we want to see how the distribution of DEFAUL column look like respect to the age group

We just simply select the DEFAULT column
Then Drag the AGE colum to the Axis button (in the next-left)

grafik

  • If you want to zoom a specific plot, just click on the focus mode grafik
  • We can create different types of plots by clicking on the visualisation icons on the right side of the interface. Again, choice of plot depends on the specific problem and target report, and the domain knowledge as well. grafik

DEFAULT by SEX; Adding a Legend to the plot;

  • Just drag the SEX column to the legend tab to set AGE as legend grafik
  • We can remove, export usw from the three dot ... plot menu grafik

DEFAULT by EDUCATION_, SEX as legend

Select the DEFAULT check box like before
Drag the EDUCATION_ to the axis tab
Drag the SEX to the legend tab

DEFAULT by AGE, SEX

grafik

Select the DEFAULT check box like before
Drag the AGE to the axis tab
Drag the SEX to the legend tab

DEFAULT vs SEX with custom color

Select DEFAULT to create a new plot
Drag the SEX column on to the Axis tab

Roller button --> Data Colors --> Show All --> Push Off to On --> Select the color from the list

grafik

  • We can do many small changes like title or other by choosing from the drop-down menu grafik
  • Now we have three plots on the canvas, if we select any of the category, it will update accordingly and apply the changes to the all of the plots

DEFAULT by STATE (Geolocations)

  • Just select the STATE column from the column list it will automatically create a map on the canvas (P-BI is quite intellegent, it can understand that the STATE is somehow related to the geographical locations) grafik

  • We can select the Field Map next to the map menu from the visualisation tab grafik

  • New way to the last step File --> Options & Settings --> Options --> Preview Features --> Shape map Visual --> ok

grafik

  • At this stage need to save the workspace and restart the P-BI app.
  • Load the previous saved file, and Drag the STATE column to the Location tab.

grafik

  • Drag the DEFAULT Column to the color saturation, find the below plot grafik

DEFAULT Ratio & Slicing the data

Select DEFAULT
Drag the MARITAL STATUS on to the Axis
Drag the SEX on to the Legend
  • Create a Card by Clickikng on the Card from the visualisation menu
  • From the Fields drop-down menu of the DEFAULT we can select many descriptive statistics grafik

Create a slicer

  • Slicer is a nice tool to view the data just clicking on a single factor to get all the dash-board simultaneously updated.
  • Click on the slice button on the visualisation menu, a slice will be available on the canvas
  • Select numerical column on the field
  • Drag any factor column on to the Axis tab and another factor column on to the Legend tab
  • See the magic! More than one slicer would be helpful for different factors and numerical column.

Final Report

grafik

Keyboard Shortcuts

  • cntrl + C to omit the last command

Corsera Promotion!!!

Continue learning on Coursera!

To further your knowledge, please check out the following content on Coursera!

Courses, Specializations and Professional Certificates:

Data Visualization with Tableau - Specialization offered by University of California, Davis
Data Analysis and Visualization Foundations - Specialization offered by IBM
Business Analytics - Specialization offered by University of Pennsylvania
Excel to MySQL: Analytic Techniques for Business - Specialization offered by Duke University
Data Analysis and Presentation Skills: the PwC Approach - Specialization offered by PwC

About

Beginner Level Project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published