March 2018
Beginner to intermediate
638 pages
16h 29m
English
It's possible to reference other tables in the data model from within a row context via the RELATED() and RELATEDTABLE() functions. In the following screenshot from Data View of an import mode dataset, three calculated columns have been added to a Date dimension table with expressions referencing the Freight column of the Internet Sales fact table:

The DAX expressions used for each column are as follows:
Related Internet Freight Cost (Sum) = SUMX(RELATEDTABLE('Internet Sales'),(SUM('Internet Sales'[Freight])))Related Internet Freight Cost (Measure) = SUMX(RELATEDTABLE('Internet Sales'),[Internet ...Read now
Unlock full access