Alert: There is a planned Community maintenance outage October 16th from approximately 10 - 11 PM PST. During this time the Alteryx Community will be inaccessible. Thank you for your understanding!

Alteryx Designer Desktop Discussions

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

Summing Values

AshleyDaniel
5 - Atom

Hi everyone, 

I am trying to sum my values by issuers so I converted the value's data type to Int16. However, when I do that the numbers change and I am unsure why. Am I using the wrong data type? 

 

Thanks for the help!

AshleyDaniel_0-1605495578654.png --> 

AshleyDaniel_2-1605495632938.png

 

 

5 REPLIES 5
Qiu
21 - Polaris
21 - Polaris

@AshleyDaniel 
you data has thousand comma (,), need to remove that first.

MarqueeCrew
20 - Arcturus
20 - Arcturus

I'm looking at this on my phone. It looks like there are commas in your numbers.  That means that these are strings.  

use a multi-field formula where you can convert them to numbers as:

 

tonumber(replacechar([_current field_],",",''))

 

 please excuse any syntax issues with my iPhone expression. 

cheers,

 

 mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
Qiu
21 - Polaris
21 - Polaris

@AshleyDaniel 

Here is the sample flow.

1116-AshleyDaniel.PNG

AshleyDaniel
5 - Atom

Yes this was the issue. Thank you all for the help! (:

Qiu
21 - Polaris
21 - Polaris

@AshleyDaniel 
thank you for the accept mark also.

Labels