Forum Discussion

CarlsBerg999's avatar
CarlsBerg999
Icon for Helper V rankHelper V
5 years ago
Solved

Calculate with inactive relationship

Hi,

 

Im having issues with my DAX formula. The issue 

 

Revenue Forecast = CALCULATE(SUM('FactTable'[Net Value]),
ALL('FactTable'),
'FactTable2'[Indicator]=false,
FILTER('FactTable', MONTH('FactTable'[Invoice Date]) = month('Forecast'[Date])),
FILTER('FactTable', YEAR('FactTable'[Invoice Date]) = YEAR('Forecast'[Date])),
'FactTable2)'[Task Status] <> "Stopped")

The issue is with the references to the FactTable2. There is an inactive relationship between FactTable and FactTable2. Therefore the filter is not working. How do i change the dax code to activate the inactive relationship for this calculated column?
 
Thanks!

2 Replies