Alteryx Designer Desktop Discussions

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

How to calculate product price using Alteryx

hellyars
Pulsar

A math challenge. See my follow-up comment below.  Basically, how do I solve this using an expression in Alteryx?

 

I want to calculate the unit cost for two truck types, but....

 

  • I know how many of each type (6x6 or 8x8) is being bought. So, I know the ratio of 6x6 to 8x8 trucks.
  • I know the total price.  So, I can calculate a composite average.
  • I also know that the 8x8 should cost 12% more than the 6x6.
  • I assume the key is that I know the 8x8 should cost 12% more than the 6x6; I know the ratio of 6x6 to 8x8s, and I know the composite average. But beyond that, my geopolitical background is failing me.

 

 

Truck A (6x6)Truck B (8x8)Total Qty All Trucks

Total Cost All Trucks

Composite Avg of Both Truck Types Mixed6x6 Cost8x8 Cost
1619125292000000365XY= X*1.12
6753251000382000000382  
339219558240000000430  
292109401154000000154  
1508501000389000000389  
  • Help
2 ANTWORTEN 2
hellyars
Pulsar

So,my brain says the following, first example... but how do I translate that o an equation in alteryx?
Let x = 6x6 and y= 8x8
x=0.88y (as x is 12% less than y)

161x + 91y = 92M
161(0.88y) + 91y = 92M
141.68y + 91y = 92M
232.68y = 92M
y= 395,392

161x + 91(395,392) = 92M
x= 347,946

hellyars
Pulsar

Just decided to do it in Excel

Beschriftungen