Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Treatas Function summing additional values

Hi Experts

 

I have the followin g DAX formula which works fine were i have no relationship between the Forecast Table and the product tables - how ever the DAX formula is also suming values that i want to exclude...i also wan to pull franchise which are ABC

 

RH Net Sales @ AOP Rate BM - NOE = CALCULATE([Net Sales @ AOP Rate BM - NOE], 
   TREATAS(SUMMARIZE('Reporting Hierarchy 2', 'Reporting Hierarchy 2'[Level4_Name], 'Reporting Hierarchy 2'[Level5_Name], 'Reporting Hierarchy 2'[Franchise Desc], 'Reporting Hierarchy 2'[Category Desc]),
            Management[Level4], Management[Level5], 'Product'[Product Franchise], 'Product'[Category]))

2 Replies