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.

Assistance Required for Sorting and Inserting Rows in Alteryx

MilicaCovin
5 - Atom

I need help with sorting values from column:Cumulative Total and inserting them into column:Cumulative Total1  while preserving the order of column:Cumulative Total1. Here’s the process:

  1. Identify Insertion Point: For each value in column:Cumulative Total, find the first larger value in column:Cumulative Total1 and insert the value above it.

  2. Continue Insertion: Move to the next value in column:Cumulative Total1, find its insertion point for secund value in column:Cumulative Total, and insert it accordingly.

  3. Preserve Order: Ensure the order of column:Cumulative Total1 remains unchanged.

1 REPLY 1
ChrisTX
16 - Nebula
16 - Nebula

Can you post sample data in an Excel file, instead of a picture?

 

Is your data guaranteed to have a value in either Cumulative Total OR Cumulative Total1, but not both?   (one of the fields will always be Null?)

 

Chris

Labels
Top Solution Authors