Month Snapshot

I'd like to build a recursive dataflow, but capture data by month.

Any idea how this can be solved?

Best Answer

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    You'll want to make sure you have all of the data for the month for each update as it's going to replace the old version of the month data. Instead of joining on a date you'll want to calculate the month (you can use YEAR and MONTH to calculate it or just LAST_DAY on your date to get the month date) and join on that month instead of an individual day.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**

Answers

  • GrantSmith
    GrantSmith Coach
    Answer ✓

    You'll want to make sure you have all of the data for the month for each update as it's going to replace the old version of the month data. Instead of joining on a date you'll want to calculate the month (you can use YEAR and MONTH to calculate it or just LAST_DAY on your date to get the month date) and join on that month instead of an individual day.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**