Date Manipulation Function

As the name implies, a Date Manipulation Node allows you to modify the dates in your datasources, by adding or subtracting to their hours, days, months or years. Though simple in concept, this function can be quite handy to many users; for example, you can choose for 5 days to be added to all the dates of a column, and have the results displayed on a new column immediately. Here’s a guide on how to add and set up a Date Manipulation Node:

Note: In order to use the Model feature you already should have already imported data sources into y42.


Adding the Date Manipulation Node to your Model

  • Select Model on the right of your window and click Add Model. Name your new Model and choose a privacy level.
  • Create at least one input table by dragging & dropping the Input field into your data model structure. Choose a data table by clicking on it, then click Save.
  • Drag & drop a Date Manipulation node close to the Input field.

    Screenshot_2020-12-11_at_10.47.28_AM.png

Setting Up your Date Manipulation Node

  • Click on the Date Manipulation Node to apply the settings.

    Screenshot_2020-12-11_at_10.30.48_AM.png

  • Select the Target Column you wish to modify or write the name of a new column.
  • Find the Source Column.
  • Choose if you would like to ADD or SUB (Subtract) the date of this column,
  • By what amount,
  • And finally, if it will be an hour, day, month or year.
  • You can easily add other columns you want to modify by clicking on Add Condition, the big + button below.
  • When you are done, press Save.

Once you're done adding or subtracting your dates, you can either perform further transformations or, if you want to export the new data table, click Commit Model.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.