Forum Discussion
SUM ( RELATED () ) dont work
- Anonymous6 years ago
powerbityro
You cannot use related or relatedtable after SUM. Simply remove RELATED will work.
The correct way of using RELATED AND RELATEDTABLE is when you restrict you context to a table and you want referent column from another related table. e.g. Revenue = TableA[QTY] * RELATED(TableB[Sales Price])
RELATED/RELATEDTABLE: https://theexcelclub.com/dax-power-pivot-power-bi-ssas-related-and-relatedtable/Best,
Paul.
powerbityro
You cannot use related or relatedtable after SUM. Simply remove RELATED will work.
The correct way of using RELATED AND RELATEDTABLE is when you restrict you context to a table and you want referent column from another related table. e.g. Revenue = TableA[QTY] * RELATED(TableB[Sales Price])
RELATED/RELATEDTABLE: https://theexcelclub.com/dax-power-pivot-power-bi-ssas-related-and-relatedtable/
Best,
Paul.