Forum Discussion
curtismob
8 years agoHelper IV
Slicer Selected Value Not Working in Calculated Column Logic
Hello, I am having what I think is a context issue. I am basically trying to use the year from a datetime dimension table in a slicer and use the selected year to filter data in another table. I c...
- 8 years ago
This following appears to be working:
Jan DCC Budget as Measure =
CALCULATE(SUM(Directs[Cost]),
FILTER(Directs, Directs[Effective] <= DATE(Directs[_Year Selected], 1, 5) && Directs[Expiration] >= DATE(Directs[_Year Selected], 1, 5)))
curtismob
8 years agoHelper IV
This following appears to be working:
Jan DCC Budget as Measure =
CALCULATE(SUM(Directs[Cost]),
FILTER(Directs, Directs[Effective] <= DATE(Directs[_Year Selected], 1, 5) && Directs[Expiration] >= DATE(Directs[_Year Selected], 1, 5)))
parry2k
8 years agoSuper User
Sweet, good for you. There you go!!