Forum Discussion

tlenzmeier's avatar
tlenzmeier
Helper II
8 years ago
Solved

Syncing Dates Across Multiple Tables

Hello,

 

I am trying to figure out how to solve filtering across two different tables by date. My first table has financial forecasts. There's a projection date field and generally speaking, there's a forecast for each project made once or twice a month (could be more often). The other table is a transaction table with numerous transactions spanning multiple months/years. What I am trying to do is to have the user select a forecast date and then see all of the accumulated transactions as of that date. So if I forecast $1,000 on the first of January 2018, I need to compare that forecast to all of the transaction dollars accumulated up until that point. My one thought was to create a summary table based off of the forecast date. Any suggestions would be appreciated.

 

Thanks.

4 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Sounds like you need to do something like:

     

    Measure = CALCULATE(SUM(Table2[Column]),FILTER(ALL(Table2),Table2[Date]<=MAX(Table1[Date])))