Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

How to clean duplicate transactions with multiple criteria?

ggermano
7 - Meteor

Hi Community,

 

I have an INTERNAL Report that contain Unique Transactions but each of this transactions can became more than one INVOICE.

 

I created a workflow to join the internal report with the invoices report but I am struggling with the alteryx tools to get the duplicated amounts removed.

 

 

Duplicated amounts.png

 

 

Please see attached the example for reference.

 

Could you please help me on this?

 

 

Thanks,

Guilherme

7 REPLIES 7
flying008
14 - Magnetar

Hi, @ggermano 

 

What's your logic ? want output like this ?

 

录制_2024_06_19_09_04_04_876.gif

Input     
Transaction NumberEntered Amount Due OriginalNº NFS-eValor dos ServiçosNUM_NFVALOR_TOTAL_ITEM
AVOMOH-2024-014718.9675104680.54547537.49
AVOMOH-2024-014718.9675104680.5457460.92
AVOMOH-2024-014718.9678344680.54547537.49
AVOMOH-2024-014718.9678344680.5457460.92
      
Output     
Transaction NumberEntered Amount Due OriginalNº NFS-eValor dos ServiçosNUM_NFVALOR_TOTAL_ITEM
AVOMOH-2024-014718.9675104680.54547537.49
AVOMOH-2024-01   57460.92
ggermano
7 - Meteor

Hi @flying008 ,

 

Yes that is right!

 

Each transaction number can have multiple N NFS-e and NUM_NF, So I would like to return exactly as you show in your video.

 

 

Thanks,

Guilherme

ggermano
7 - Meteor

I don't find this 3th tool in your example on my Alteryx.

 

Could you please advise?

flying008
14 - Magnetar

Hi, @ggermano 

 

FYI.

录制_2024_06_20_10_12_06_994.gif

Bren_Spill
12 - Quasar

@ggermano - Similar to @flying008's solution attached

ggermano
7 - Meteor

Hi @flying008 would you mind sharing the workflow with me?

 

Taking into account the video is exactly what I am looking for!

 

 

Thanks,

Guilherme

flying008
14 - Magnetar

Hi, @ggermano 

 

My solution approach is similar to that of @Bren_Spill , except that the additional steps are to dynamically maintain the names and order of field columns without the need for manual adjustment
Due to security policy restrictions, I am unable to upload any WF. Please try it yourself by following the animation. Best Regard!

Labels