Forum Discussion
Anonymous
7 years agoNot applicable
SUMMARIZE using column from another table
Hi, I am trying to summarize a table across Regions and Categories for the amont of Spend, but then I also want to add another column to the grouping for the 'Asset' which comes from a table link...
- 7 years ago
Anonymous
If that other table with Asset column is on the side of the relationship, then you can simply add it as GROUPING Column
= SUMMARIZE ( 'Visibility Data - All Regions', 'Visibility Data - All Regions'[Region], 'Visibility Data - All Regions'[Group], 'Visibility Data - All Regions'[Category], 'Visibility Data - All Regions'[Sub Category], OtherTableName[AssetColumn], "Revised Spend (USD)", SUM ( 'Visibility Data - All Regions'[Revised Spend (USD)] ) )
Zubair_Muhammad
Community Champion
7 years agoAnonymous
If that other table with Asset column is on the side of the relationship, then you can simply add it as GROUPING Column
=
SUMMARIZE (
'Visibility Data - All Regions',
'Visibility Data - All Regions'[Region],
'Visibility Data - All Regions'[Group],
'Visibility Data - All Regions'[Category],
'Visibility Data - All Regions'[Sub Category],
OtherTableName[AssetColumn],
"Revised Spend (USD)", SUM ( 'Visibility Data - All Regions'[Revised Spend (USD)] )
)