Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Identifying the current version of a Quote based on recent Revision number

AJ
6 - Meteoroid

Hello,

 

Attached is an Excel file illustrating the data that I want to create an Alteryx flow to it. The file has two tabs, the Original dataset sample, and the Expected results tabs.

What I'm trying to implement is to identify the Products that are in the most recent version of the Quote. Some Quotes have 1, 2, or more revisions.

Please let me know if you have any questions

4 REPLIES 4
binuacs
21 - Polaris

@AJ are you expecting duplicate records in your expected output 

binuacs_0-1646931758032.png

 

RolandSchubert
16 - Nebula
16 - Nebula

Hi @AJ ,

 

the fist step is to find the last revision for each quote / invoice number. You can use a a Summarize tool for that, group by Quote and find the max of revision. Then you can use a Join tool  to select only the last revision (join by quote, invoice and max revision -> J anchor returns only row for last revision. 

 

2022-03-10_17-58-56.jpg

 

Let me know if it works for you.

 

Best,

 

Roland

AJ
6 - Meteoroid

Hi there,

Yes, they can.

 

Thnk you for looking into this:)

AJ
6 - Meteoroid

Awesome Roland,

Thank you so much for all your help :)

Labels
Top Solution Authors