Forum Discussion
MadBern85
Helper I
1 year agoIssue with SAMEPERIODLASTYEAR() and Date presets table
Hi I have made a table for date presets in my PBI-model, containing dates for "yesterday", "Current week", "Last week", etc. This is then connected to my calendar table on date values (many-to-one)...
danextian
Super User
1 year agoHi MadBern85
Instead of a bi-direcitonal relationship, I would use many to many and set the relationship to flow from the presets to the actual calendar table. If that still doensn't work, include REMOVEFILTERS(presetstable) to your formula.
MadBern85
Helper I
1 year agoHi
REMOVEFILTERS() have been tried already, without effect.
But changing to a many-to-many (which I of course hadn't tried already) seems to do the trick.
Thanks a bunch 🙂