ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

how to compare values using formula tool

rohitchat20
5 - Atom

Hi, I have data like below - 

 

Screenshot 2024-05-16 120304.png

 

Now for a SKU, i have to compare elasticity value for variable base_price VS cann_price_index_ppg1 that which one is higher. how can I do that using formula tool or some other tool.

1 REPLY 1
flying008
15 - Aurora

Hi, @rohitchat20 

 

1- Filter [Variable] with:  

[Variable] in ('base_price', 'cann_price_index_ppg1')

 

2- use  Summarize  tool to :

Group by [sku]

Max by [Variable]

 

Labels
Top Solution Authors