SOLVED
Shifting month value to another month
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ankitgupta
7 - Meteor
‎05-15-2019
05:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi all , I need some help in solving this, I have a column with data
YearMonth | Value |
201801 | 10 |
201802 | 20 |
201803 | 30 |
201804 | 40 |
201805 | 50 |
I want output as
YearMonth | Value | Value1 |
201801 | 10 | |
201802 | 20 | 10 |
201803 | 30 | 20 |
201804 | 40 | 30 |
201805 | 50 | 40 |
Thanks,
Solved! Go to Solution.
Labels:
- Labels:
- Preparation
1 REPLY 1
jamielaird
14 - Magnetar
‎05-15-2019
05:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @ankitgupta
You can use a Multi-Row Formula tool for this, using the expression:
[Row-1:Value]
to create the value for a new field named Value1 by taking it from the row above.
For more on the Multi-Row Formula tool see this article:
https://community.alteryx.com/t5/Alteryx-Knowledge-Base/Tool-Mastery-Multi-Row-Formula/ta-p/86603
