Forum Discussion

MadBern85's avatar
MadBern85
Icon for Helper I rankHelper I
1 year ago
Solved

Issue 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's avatar
    1 year ago

    Hi 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.