Alteryx Designer Desktop Discussions

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

Fixed Decimals for IRR calcuatlon, displaying to 6 decimals only

wonka1234
Boule de feu

Hi,

 

I am doing a summarize tool for IRR. However it is just rounding to 6 decimal places.

Is there a workaround to show more decimals?

 

heres some of my data before summary tool:

 

wonka1234_0-1654883145650.png

 

hres the sumamry:

 

wonka1234_1-1654883160051.png

 

 

I would like to have more decimals in this summary.

 

 

16 RÉPONSES 16
MilindG
Quasar

What if you use formula tool and create new column = current column and change the fixed data type (Scale) to however many decimals you need.

DataNath
Castor

If you go to the metadata, what is the data type? I’m not 100% sure on the Summarize behaviour but it may be that the tool is converting the output to a double automatically. Perhaps you just need to add a select tool afterwards and convert it back to the level of detail of your choosing? As a default Alteryx uses 6 but you can just change this in the select.

DataNath
Castor

*can’t edit comment*

Meant to add that you’d use a select to change it back to a FixedDecimal.

IraWatt
17 - Castor
17 - Castor

Hey @wonka1234,

There is probably not any rounding happening if your column is a double you have 15 digits of precision. The 6 digits are just visual formatting.

IraWatt_0-1654883937182.png

Data Types | Alteryx Help 

wonka1234
Boule de feu

hi all, tried all the suggestions. Looks like the summary tool automatially makes it a double regardless of my input!

IraWatt
17 - Castor
17 - Castor

@wonka1234 Double has the highest precision of any numeric data type in Alteryx - Data Types | Alteryx Help It is not 6 digits it is 15 as I wrote above

wonka1234
Boule de feu

In excel im getting an IRR of 

0.00295306660687578

 

but using fixed decimal / double im getting just 0.002953

IraWatt
17 - Castor
17 - Castor

@wonka1234  I just tried with the formula it also seems to round to 6 decimal places 

IraWatt_0-1654888265413.png

 

wonka1234
Boule de feu

@IraWatt  thanks. Do you know if there is a way to show more? 

I think it just rounds upon reading it in.

 

I see the msg  

Display value was rounded to 6 decimal places error

 

 

Not sure if that can be changed to read it more then 6. That seems to be the issue

Étiquettes