Advanced - Modelling Data

Master Power BI Dashboard Excel Power BI Dashboards
5 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$10
List Price:  $199
You save:  $189
€9.60
List Price:  €191.16
You save:  €181.55
£7.82
List Price:  £155.80
You save:  £147.98
CA$14.32
List Price:  CA$285.15
You save:  CA$270.82
A$16.01
List Price:  A$318.70
You save:  A$302.69
S$13.50
List Price:  S$268.74
You save:  S$255.24
HK$77.70
List Price:  HK$1,546.39
You save:  HK$1,468.69
CHF 8.85
List Price:  CHF 176.11
You save:  CHF 167.26
NOK kr112.69
List Price:  NOK kr2,242.57
You save:  NOK kr2,129.87
DKK kr71.73
List Price:  DKK kr1,427.42
You save:  DKK kr1,355.69
NZ$17.68
List Price:  NZ$352.02
You save:  NZ$334.33
د.إ36.72
List Price:  د.إ730.92
You save:  د.إ694.19
৳1,193.10
List Price:  ৳23,742.76
You save:  ৳22,549.66
₹853.97
List Price:  ₹16,994.19
You save:  ₹16,140.21
RM44.87
List Price:  RM892.91
You save:  RM848.04
₦15,455.99
List Price:  ₦307,574.36
You save:  ₦292,118.36
₨2,779.55
List Price:  ₨55,313.12
You save:  ₨52,533.56
฿341.70
List Price:  ฿6,799.83
You save:  ฿6,458.13
₺351.95
List Price:  ₺7,003.86
You save:  ₺6,651.91
B$63.76
List Price:  B$1,268.88
You save:  B$1,205.12
R187.50
List Price:  R3,731.33
You save:  R3,543.82
Лв18.80
List Price:  Лв374.15
You save:  Лв355.35
₩14,572.59
List Price:  ₩289,994.66
You save:  ₩275,422.07
₪36.49
List Price:  ₪726.23
You save:  ₪689.73
₱586.60
List Price:  ₱11,673.34
You save:  ₱11,086.74
¥1,571.74
List Price:  ¥31,277.82
You save:  ¥29,706.07
MX$201.64
List Price:  MX$4,012.67
You save:  MX$3,811.03
QR36.31
List Price:  QR722.60
You save:  QR686.29
P138.66
List Price:  P2,759.41
You save:  P2,620.74
KSh1,290.40
List Price:  KSh25,678.96
You save:  KSh24,388.56
E£508.34
List Price:  E£10,116
You save:  E£9,607.65
ብር1,271.21
List Price:  ብር25,297.26
You save:  ብር24,026.04
Kz9,120
List Price:  Kz181,488
You save:  Kz172,368
CLP$9,892.90
List Price:  CLP$196,868.71
You save:  CLP$186,975.81
CN¥72.99
List Price:  CN¥1,452.50
You save:  CN¥1,379.51
RD$608.17
List Price:  RD$12,102.65
You save:  RD$11,494.48
DA1,351.01
List Price:  DA26,885.16
You save:  DA25,534.14
FJ$23.18
List Price:  FJ$461.41
You save:  FJ$438.22
Q76.90
List Price:  Q1,530.41
You save:  Q1,453.51
GY$2,088.84
List Price:  GY$41,567.99
You save:  GY$39,479.15
ISK kr1,395.50
List Price:  ISK kr27,770.45
You save:  ISK kr26,374.95
DH100.68
List Price:  DH2,003.60
You save:  DH1,902.92
L184.20
List Price:  L3,665.77
You save:  L3,481.56
ден590.93
List Price:  ден11,759.56
You save:  ден11,168.63
MOP$79.87
List Price:  MOP$1,589.43
You save:  MOP$1,509.56
N$185.64
List Price:  N$3,694.36
You save:  N$3,508.72
C$367.38
List Price:  C$7,310.90
You save:  C$6,943.52
रु1,359.77
List Price:  रु27,059.52
You save:  रु25,699.74
S/37.17
List Price:  S/739.84
You save:  S/702.66
K40.52
List Price:  K806.39
You save:  K765.87
SAR37.55
List Price:  SAR747.27
You save:  SAR709.72
ZK276.30
List Price:  ZK5,498.56
You save:  ZK5,222.25
L47.84
List Price:  L952.07
You save:  L904.23
Kč241.81
List Price:  Kč4,812.21
You save:  Kč4,570.39
Ft3,948.26
List Price:  Ft78,570.54
You save:  Ft74,622.27
SEK kr108.82
List Price:  SEK kr2,165.57
You save:  SEK kr2,056.74
ARS$10,270.87
List Price:  ARS$204,390.46
You save:  ARS$194,119.58
Bs68.99
List Price:  Bs1,372.92
You save:  Bs1,303.93
COP$44,128.07
List Price:  COP$878,148.77
You save:  COP$834,020.69
₡5,069.39
List Price:  ₡100,880.97
You save:  ₡95,811.57
L253.67
List Price:  L5,048.06
You save:  L4,794.38
₲77,865.54
List Price:  ₲1,549,524.33
You save:  ₲1,471,658.78
$U444.41
List Price:  $U8,843.80
You save:  $U8,399.39
zł40.94
List Price:  zł814.78
You save:  zł773.83
Already have an account? Log In

Transcript

Now that we're happy with our data, we have done all of the steps involved. We've loaded it here, we've done our transformations, it's looking good. So we're going to be going to home and select close and apply. So once we do that, it's going to be loaded into our data model. So it's applying query changes, and then it's just going to be taking quite a while for it to load everything in our data model. Now it's loading the data to the model, and then it's going to be attempting to create relationships as well.

Okay, so there you go, detecting relationships. And now we can see that it's finished, right, you can see here, and let's just go straight to data. And let's see what happened. So if we look at team clutch, right, we have our data in here. The clutch games, okay, team defense, let's like this is looking good. We have the defense rating over here, defensive rating score to Team stats, right?

We have all the teams we have the points as well. So that's looking good. Okay. So what we can do right now is we can just make some changes All right. So for example, and when presentation, let's say it's being displayed as a decimal, we want it to be displayed differently. Let's go to modeling.

And let's change the format to person presentation over here, just to make it look better. Okay? So let's go to Team clutch, any changes that we want to do, let's say when person page we can change the format again to presentation we're here. Okay? Just to make it look a bit different. Let's go to team defense, okay?

Nothing, nothing that we want to change over here. Okay, now it's looking good. Let's go to this tab over here for the model, we can look at our relationships. So let me just move this a bit so that you can see the lights better. Okay, so what Power BI has tried to do okay is it tried to infer the relationships between our three tables over here so you can see there's a line relating team clutch and team stats, there's a line for it. Defense that's and then there's a line for clutch and defense.

Okay? So if we go over one by one, you can see that it linked it by location. Okay, so when we look back at our data, okay, so let me just move back here, you could see that team clutch for example, right? Because all of the data over here for the tree tables that we have, they are all uniquely identified by the team. Okay, so you could think of it as the location as being unique right? across all of them.

And then we also have team as well being unique. So which means any two of the columns over here, either location or team can be used to uniquely identify a specific row over here. Okay, so for simplicity, let's just select location. Okay, so the good thing with this one is location is consistent across team defense team stats, and team clutch so which means this row over here for Houston, we would know that this row of stats would be related to this row status file over here, right for Houston as well. Right? And same thing as well, for Team stats.

If we go here, right, the role of Houston would also be related because this location would uniquely identify and relate the three separate girls from the three tables together. So same goes as well for that, say, let's just pick New York, for example, then we would look for a row in New York as well. And you would know the stats here would be related to the same stats that has the value of New York for the location. Okay, so the reason why I explained this concept is because it's going to be crucial in instant stablishing relationships in here. So if we go over here, and surprisingly, Power BI was able to infer that location is the one that's relating the team clutch values and the team stats values. So what I did was, let me just redo that.

I just hovered over the line and double click on it to open the relationship tab over Relationship window. And you can see that is this one is related to this column as well for the location. And that's good. And you can see it's one to one. So which means one row is related to one role in from Team stats to Team clutch, or vice versa. Okay?

So that's what we want that looking good. Select OK. If we hover here, okay, you can see that it's team is relating team from Team touch to team defense and activity, that's fine, but for consistency, what we want to be related, right, would be location, and location. Okay, and it's one to one. Okay, so we just made a change to the relationship over here. And once we're happy, just select Okay.

Now, if we hover again, yep, it's looking good. It's now location and location. So if we do this as well, let's check team stats and team defense. And it's looking good, right, it inferred and used location so we're happy with that. Now once we're happy with the relationships will now be able to move on from our data model and we can now start with our visualization.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.