Start Free Trial

Alteryx Designer Desktop Discussions

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

Why is the overall total sum amount different from the sum amount per debit credit?

novalcia
7 - Meteor

I'm using the Summarize tool to just sum the amount but I got contradictory results. If I just sum the total amount directly:

total sum.png

but if I try to total sum by debit credit:

sum per debit credit.png

This is from the same data file. This happened to all my data. This still happened even after I tried to rerun it.

Why is it contradictory? I don't understand what happened.

 

This is the Alteryx I'm using:
Version: 2022.3.1.573 Patch: 7 

Running Non-Elevated

I also tried using Version: 2023.2.1.17242 Patch: 4 but it still happened

21 REPLIES 21
novalcia
7 - Meteor

Sure

alexnajm
18 - Pollux
18 - Pollux
novalcia
7 - Meteor

the data is uploaded

alexnajm
18 - Pollux
18 - Pollux

I am seeing the same behavior in 2025.1.... very odd. @OllieClarke & @jrlindem & @JerryCooperCMA feel free to download it too if you want

OllieClarke
16 - Nebula
16 - Nebula

@novalcia 

That's really interesting. When I use your uploaded data (in 2024.2), I get different numbers.

 

Here are my int64 numbers (which sum to 0)

 

OllieClarke_1-1762451789875.png

 

 

And here are my double numbers (which also sum to 0, but don't look like they should).

OllieClarke_2-1762451819327.png

 

I would suggest using int64 for this data (which was confirmed by the autofield tool).

 

 

OllieClarke
16 - Nebula
16 - Nebula

@novalcia @alexnajm 

I just ran the same workflow with AMP turned off. My Double numbers are the same:

OllieClarke_0-1762452104149.png

but my int64 numbers are now different

OllieClarke_1-1762452122053.png

 

weirdly both the double and int64 E1 numbers sum to 94,560.

alexnajm
18 - Pollux
18 - Pollux

Crosstab yielded closer but still different numbers as well...

Screenshot 2025-11-06 130711.png

OllieClarke
16 - Nebula
16 - Nebula

@novalcia @alexnajm 

 

When I run the same workflow in 2025.1 (2025.1.2.142  Patch: 2) with AMP on, my double numbers continue to be the same

OllieClarke_2-1762452379593.png

 

But my int64 numbers are good again

OllieClarke_3-1762452402508.png

 

Running in E1 gives me a couple of field conversion errors

OllieClarke_4-1762452531588.png

but the same double numbers

OllieClarke_5-1762452568974.png

and the same incorrect int64 numbers as E1 in 24.2

OllieClarke_6-1762452598798.png

(both summing to 94,560)

 

AMP being on and int64 being the data type seems to be the right move here. As for why that's not working on your machines, I'm wondering if it's a memory thing, or the fact I'm running windows on parallels on an apple silicon mac? Not really sure to be honest.

@novalcia I'd create a support ticket if I were you, this is very weird behaviour, and I don't see any reference to it in the known issues of the release notes

 

 

 

OllieClarke
16 - Nebula
16 - Nebula

@alexnajm 
I again get different numbers to you with cross-tab (int64):

OllieClarke_0-1762453045829.png

 

and when I use cross-tab with double I get matching numbers, although different ones to my int64 summarize tool:

OllieClarke_1-1762453176872.png


this is all very strange

 

jrlindem
12 - Quasar

Late to the party

 

Ran on 2023.1 using AMP (just for fun) and was seeing:

 

jrlindem_0-1762453309757.png


Similar, when using DOUBLE (bottom leg).  I get different numbers, but when aggregating without grouping, I also get "0" (expected).  I got expected results from INT64 and FixedDecimal (had to open up the precision).

Can't account for the why this issue is occurring.  Agree with @OllieClarke - Probably time to open up a ticket...  -Jay

Labels
Top Solution Authors