SOLVED
Updating Values on entire row(multiple columns) based on condition?
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
Aviator0807
8 - Asteroid
09-13-2021
09:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I want to zero out the row where Product 4 is. Is there an easier way to do it this, instead of creating 4 different field formulas for each column?
ex.
Output: Store A
IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF
Output: Store B
IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF
Output: Store C
IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF
Output: Store D
IF [Product] == 'Product 4' Then 0 ELSE [Product] ENDIF
| Product | Store A | Store B | Store C | Store D |
| Product 1 | 10 | 25 | 40 | 50 |
| Product 2 | 10 | 25 | 40 | 50 |
| Product 3 | 10 | 25 | 40 | 50 |
| Product 4 | Null | Null | Null | Null |
Solved! Go to Solution.
Labels:
- Labels:
- Expression
- Help
- Output
- Tips and Tricks
2 REPLIES 2
22 - Nova
09-13-2021
09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
MatthewBr
Alteryx Alumni (Retired)
09-13-2021
10:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@atcodedog05 beat me to the punch. This is what multifiled formula is for.
@Aviator0807 - Remember to mark as complete if the solution provided solves your challenge!
