Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

returning future date from date table based on inactive relationship and calculated filtering

Hi all

 

still working on this report and tried something new but hitting another wall. I am trying to have a sales stage table where each stage has a calculated velocity (in months). what i need is a date to be return based on the current month + the stage's velocity in a column. this way i can put matrices around target gaps and opportunites and such.

 

I have created a 'relative month to now' column in my custom date table. i have a sales stage table but it only has an inactive relationship to the date table ([today] column to [date] column) becuase i have some conflicting relationships that need to be active so i was going to USERELATIONSHIP in the calculation (below)

 

i think my problem is that there are more than 1 date to return when it filters the relative month to now and it is looking for one result. i tried a MIN to just return the first date of the month but still got an error.

 

how can i retriece the first day of the month that is the # of velocity months in the future from the date table? many thanks!

6 Replies

  • Anonymous 

    The information you have provided is not making the problem clear to me. Can you please explain with an example. Can you share sample data and sample output in a table format

    Appreciate your Kudos.

    • Anonymous's avatar
      Anonymous
      Not applicable

      there are only 2 tables referenced, date and stage stage both are refrence tables. the output would be the stales stage table to look like below where 'start date' is the expected start date of all the opportunities in that sales stage based on the velocity months (how long it takes to win business).

       

      does that help?

       

      StageVelocityTodayStart Date
      1717/0401/11/2020
      2617/0401/10/2020
      3517/0401/09/2020
      4417/0401/08/2020
      5317/0401/07/2020