Forum Discussion
RobertSlattery
Responsive Resident
8 years agoPrevious Day Value
Why does this work... Order Value Prev Day = CALCULATE(
SUMX(orderLines, [Amount] * RELATED(Order_Types[Sign])),
FILTER(
orderLines,
[Date] = MAX('Dim Date'[Date])
),
...
- 8 years ago
Nope, ALL just removes all of the context filters but not the relationships. Let me see if there is a way to do that but I'm not sure.
RobertSlattery
Responsive Resident
8 years agoYes, thanks Greg_Deckler it makes sense, except that I thought the All() filter would remove that relationship. No?
May
Greg_Deckler
Community Champion
8 years agoNope, ALL just removes all of the context filters but not the relationships. Let me see if there is a way to do that but I'm not sure.
- RobertSlattery8 years ago
Responsive Resident
Ok, in that case it now makes perfect sense. I've seen patterns where they say not to have any relationship between tables. Now I understand why.