Forum Discussion

amarsale85's avatar
amarsale85
Helper II
5 years ago

Parent child aggregation DAX code not working

Hi Experts,

 

I followed the link below to create my DAX code measure:

https://community.powerbi.com/t5/Desktop/Summing-Aggregating-on-Parent-Child-Hierarchies/m-p/394500#M179959

 

In the example given in link, the code will only work with "Company" attribute but if i add attributes from another dimensions say Location, SalesType, etc., this DAX code won't work. So what change i need to do in the DAX code for it work with attributes in dimensions?

 

Please help.

7 Replies