Alteryx Designer Desktop Discussions

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

Why are my converted negative numbers not summarizing in my Group By/Sum?

knamc_com
7 - Meteor
 

See attached picture of data not summarizing in my Group By:

 

 

Project                           Amount            Check_Date
4100-2122-C220-24      864.39              02/01/2024
4100-2122-C220-24         -0.01              02/01/2024


4100-2123-C220-22  12953.66             02/01/2024
4100-2123-C220-22     -805.99             02/01/2024

 

Screenshot 2024-03-08 152857.png

6 REPLIES 6
alexnajm
17 - Castor
17 - Castor

what is your current input/output, and what is your expected output? On first glance this looks correct.

alexnajm
17 - Castor
17 - Castor

It worked correctly for me

knamc_com
7 - Meteor

Project                           Amount            Check_Date
4100-2122-C220-24      864.38              02/01/2024


4100-2123-C220-22  12147.67             02/01/2024

alexnajm
17 - Castor
17 - Castor

That's exactly what I get in the workflow above

apathetichell
18 - Pollux

@knamc_com my assumption is that both @alexnajm are and I are confused because your negative numbers are correctly being accounted for and your output looks correct. so we are not quite clear what you are expecting to see as a result? perhaps you only want to aggregate by date? or only by project? that would create fewer dimensions in your aggregation (ie more entities would sum.) Perhaps you want an output which is the universe of dates and projects - with the total sum for all the entries. if that's the case you would need to split your workflow - and do two summarize tools - the first to group. the second to just sume - and then append the two streams together. 

gawa
15 - Aurora
15 - Aurora

hi @knamc_com 

As @apathetichell and @alexnajm told, configuration of Summarize tool seems good.

 

Just one doubt is the field type of "Amount" is fixed decimal. I found the past discussion on malfunction of AMP engine when summarizing negative fixed decimal value, it was a bit old discussion though.

https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/AMP-Engine-Negative-Fixed-Deci...

 

I'm not sure about your Designer version and AMP engine config...but as a quick workaround, you can try:

1) Turn off AMP engine

2) Change data type to DOUBLE before going to Summarize tool

Labels