Alteryx Designer Desktop Discussions

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

Formula question

gayathri27
Meteoro

I am working on solving a problem and stuck on how to derive the below. Any tips on how to get this subtotal would be appreciated. 

calculate the subtotal for each line item (discount is per unit and shipping is a flat cost).find the Total cost for each order, the "Total Saved" for each order, and the number of days it took to pay the report in full.

5 RESPUESTAS 5
Qiu
20 - Arcturus
20 - Arcturus

@gayathri27 
Can you at least give a try and show in your work progress even?
I think it will be better you tried to solve it first then realize the real diffculty you are facing. 😁

ntakeda
Bólido
gayathri27
Meteoro

I tried to summarize based on days, total and total saved and was not able to add them to summarize. Any suggestions on how to fix this ?

ntakeda
Bólido

@gayathri27 

In the Formula Tool, is "No. of Days" specified as a numeric data type (e.g., Int32)?
If you have chosen a character data type (e.g. string), SUM cannot be used.

https://help.alteryx.com/20231/designer/data-types

Raj
Magnetar

@gayathri27  just check the data types.

For performing any type of Mathematical calculation we need to set the data type to numeric form.

hope this helps.

Etiquetas