From the course: Excel Business Intelligence: Power Pivot, DAX and Data Modeling
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Join data with RELATED - Microsoft Excel Tutorial
From the course: Excel Business Intelligence: Power Pivot, DAX and Data Modeling
Join data with RELATED
All right. Next up, let's talk about the RELATED function. Now, RELATED returns related values in each row of a table based on its relationships with other tables in the model. So the syntax is incredibly easy. You just point it to a column reference, and that's the column that contains the values you're trying to retrieve. So important note here, RELATED works almost exactly like a VLOOKUP. It uses those relationships between tables to basically reach into one table and retrieve values, and pull them back into the column of another table. And since this function requires row context, you can only use it as either calculated column or as part of an iterator function that cycles through tables row-by-row. So we talked about how FILTER was one example of that. And in the next video, we're going to be talking about X functions like SUMX, MAXX, COUNTX, and more. So quick pro tip here: you might be tempted to use the RELATED function because it's easy and because it's kind of nice and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
Introduction to DAX functions27s
-
(Locked)
DAX formula syntax and operators4m 5s
-
(Locked)
Common DAX function categories3m 54s
-
(Locked)
Basic math and stats functions12m 45s
-
(Locked)
COUNT, COUNTA, DISTINCTCOUNT, and COUNTROWS10m 35s
-
(Locked)
Logical functions (IF, AND, and OR)16m 49s
-
(Locked)
Switch and Switch (TRUE)10m 33s
-
(Locked)
Text functions10m 53s
-
(Locked)
The CALCULATE function14m 39s
-
(Locked)
Add filter context with FILTER: Part 19m 20s
-
(Locked)
Add filter context with FILTER: Part 214m 23s
-
(Locked)
Remove filter context with ALL9m 6s
-
(Locked)
Join data with RELATED3m 39s
-
(Locked)
Iterator ("X") functions: SUMX12m 20s
-
(Locked)
Iterator ("X") functions: RANKX5m 33s
-
(Locked)
Basic date and time functions4m 58s
-
(Locked)
Time intelligence formulas17m 2s
-
(Locked)
Speed and performance considerations3m 3s
-
(Locked)
DAX best practices2m 3s
-
(Locked)
Final section53s
-
(Locked)
Data visualization options4m 24s
-
(Locked)
Wrapping up47s
-
-