Filtering in Alteryx
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
noopurjain
8 - Asteroid
05-20-2021
11:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello All, In my dataset I have multiple entries for one particular account. I want to filter out the rows where the year is 2021 and the price is less than the previous years. Below is an example of what I am looking – I need the row (where it say "need this as output") as output where the year_month is the latest month of 2021 and the price is lower than the other prices this account has. Thanks! Account year_month price 123456 202007 193.24 123456 202008 193.24 123456 202009 192.63 123456 202010 1,454.50 123456 202011 1,454.50 123456 202012 1,454.50 123456 202101 1,454.50 123456 202102 50.00 123456 202103 50.00 (Need this as output) 789123 201902 81.19 789123 201903 82.25 789123 201904 81.64 789123 201905 10.05
3 REPLIES 3
22 - Nova
05-20-2021
11:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
17 - Castor
05-20-2021
11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
dougperez
12 - Quasar
05-20-2021
12:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Your data is
Account year_month price
123456 202007 193.24
123456 202008 193.24
123456 202009 192.63
123456 202010 1454.50
123456 202011 1454.50
123456 202012 1454.50
123456 202101 1454.50
123456 202102 50.00
123456 202103 50.00
Right?
And the output desired is:
Account year_month price
789123 201902 81.19
789123 201903 82.25
789123 201904 81.64
789123 201905 10.05
I think this is kinda... Impossible? Your data is veeeery different than the desired output...
