Forum Discussion
Previous Day Value
- 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.
Tough to say without source data to replicate but my guess is that when you take the MAX date in the date key table and add 1 to it, you no longer have any dates that match it? If you wanted previous day, wouldn't you want -1?
Yes, sorry, rushed it, should be - 1. Edited to fix.
In answer to your question, I do have dates one day less for all the values selected and I use ALL(orderLines) to open up the context to the whole date range.
- Greg_Deckler8 years agoCommunity Champion
Again, tough to say without the data to replicate. But, if you have a relationship between your two tables based on Date. Then you will never have a match between them where date in one table matches -1 date from another table. Does that make sense?
- RobertSlattery8 years agoResponsive Resident
Yes, thanks Greg_Deckler it makes sense, except that I thought the All() filter would remove that relationship. No?
May
- Greg_Deckler8 years agoCommunity Champion
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.