Forum Discussion
SUMMARIZE using column from another table
- 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)] ) )
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)] )
)
- Anonymous7 years agoNot applicable
Hi Zubair,
Thanks for the quick response but I tried that and I get the issue "The column 'Facility / Asset Name' specified in the 'SUMMARIZE' function was not found in the input table."
FYI - the data already being summarized is linked to the table containing Facility / Asset Name but on another column.
Any ideas?
TG
- Zubair_Muhammad7 years agoCommunity Champion
Anonymous
Could you share your file?
- Anonymous7 years agoNot applicable
Hi Zubair,
Afraid I cannot as the data is very sensitive client data.
I have a main fact table containing the Region, Category, and Spend, as well as Cost Centre, I then have a seprate mapping table to map the Cost Centres to Assets. The same aggregation works fine in a front end chart not sure why I am getting this error when doing it in DAX.
Thanks,
TG