We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Total Amount Not Repeating in every Row

Mwatts23
8 - Asteroid

Hi,

I hope you can help in finding a solution to my query. I don't need the Total Amount to keep on repeating in every row but I need to keep the total number of rows that I have in my Raw data .

I attached the file for the Raw data, the Issue and the expected result.

Please see screenshot below.

Mwatts23_0-1751519182587.png

 

 

Mwatts23_1-1751519272713.png

 

 

Many thanks,

 

Mike

7 REPLIES 7
Qiu
21 - Polaris
21 - Polaris

@Mwatts23 
You want to do it by Alteryx? what do you get so far?

I think we can use a Multi-row formula tool to remove the duplicated results after first occurence.

WirkKarl
7 - Meteor

Hi,

I hope someone can help me with this issue.

In my workflow, I have a column with the Total Amount, but it repeats on every row. What I want is to keep the total number of rows from my raw data, but show the total amount only once — for example, in the first row — and leave the other rows blank or null.

I’ve attached an example file showing the raw data, the issue, and the expected result.

Thanks in advance!

abacon
12 - Quasar

@Mwatts23 Here is a way to do it.

Join the main data to the summarized data on the min start date, this will only append the record once to your data, then do a left join using a union tool and it will bring the full stream back together. If you want to change the date format

 

Baconimage.png

Qiu
21 - Polaris
21 - Polaris

@abacon 
Nice and elegant one. It turns out that Multi-row formula might not be good approach. 😂

flying008
15 - Aurora

Hi, @Mwatts23 

 

FYI.

 

录制_2025_07_04_08_22_58_289.gif

 

Account NameCityStart DateEnd DateAmountMin_Start DateMax_End DateSum_Amount
ALondon1-Jan-221-Mar-2211-Jan-221-Mar-223
ALondon1-Oct-221-Apr-232   
ASingapore1-Mar-221-May-2331-Jul-231-Nov-2312
ASingapore1-Jul-231-Nov-234   
ASingapore1-May-221-Jul-225   
BParis23-Jan24-Oct1023-Aug24-Oct21
BParis23-Aug24-Nov11   
BNew York22-Jul24-Dec1222-Jul25-Jan39
BNew York22-Oct25-Jan13   
BNew York23-May25-Feb14   

 

录制_2025_07_04_08_26_37_949.gif

 

 

J-Li
5 - Atom

You create a unique key to each record,  and then use a Summarize tool to get the first occurrence (minimum key) for each columns combination you want no to repeat. Next, use a Join tool to get the desired result.

Mwatts23
8 - Asteroid

Thank you Everyone for the solutions you shared. It was all very helpful! 😎

Labels
Top Solution Authors