Alteryx Designer Desktop Discussions

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

Making an attach rate between several variables without inflating numbers

hudg16
7 - Meteor
DescriptionCategory TypeCategory NameSKUSupplierManufacturerGross Store Price QtyGross Store Price Sold$Gross Store Price Avg$Returns QtyReturns Sold$Returns Avg$Sales Discounts QtySales Discounts Sold$Sales Discounts Avg$Return Discounts QtyReturn Discounts Sold$Return Discounts Avg$Net Sales QtyNet Sales Sold$Net Sales Avg$Tax on Net Sales QtyTax on Net Sales Sold$Tax on Net Sales Avg$InventoryCostCost of Goods SoldNameValue
IPHONE 6S/7/8+ CASETIFY GLITTER TAKEABOWCaseFashion135859CesiumCasetify149.9549.95000144.9544.9500015510.550.55220.620.6Device1IPHONE 6S+
IPHONE 6S/7/8+ CASETIFY GLITTER TAKEABOWCaseFashion135859CesiumCasetify149.9549.95000144.9544.9500015510.550.55220.620.6Device2IPHONE 7+
IPHONE 6S/7/8+ CASETIFY GLITTER TAKEABOWCaseFashion135859CesiumCasetify149.9549.95000144.9544.9500015510.550.55220.620.6Device3IPHONE 8+

I have this data that has been transposed on the devices, to give an attach rate between the accessory (here) and the device (in another data set). One problem is transposing these models into device 1, device 2, device 3 inflates thus tripling the quantities. Across my entire data set, how can I say if Name=!"Device 1" make Gross Price -> cost of goods sold NULL or zero (I am unsure). In doing so I hope to not inflate the quantities but keep being able to attach an iphone 8+ accessory to an iphone 8+ phone. 

This could also not be possible given that a null will make that quantity 0 for an iphone 8+ and therefore no attach rate. Perhaps someone has a better idea on how I could do this without inflating everything.

 

Before I transpose for example, I have the columns device 1, device 2, device 3, so this duplication or triplication does not exist at that stage. 

 

DescriptionCategory TypeCategory NameSKUSupplierManufacturerGross Store Price QtyGross Store Price Sold$Gross Store Price Avg$Returns QtyReturns Sold$Returns Avg$Sales Discounts QtySales Discounts Sold$Sales Discounts Avg$Return Discounts QtyReturn Discounts Sold$Return Discounts Avg$Net Sales QtyNet Sales Sold$Net Sales Avg$Tax on Net Sales QtyTax on Net Sales Sold$Tax on Net Sales Avg$InventoryCostCost of Goods SoldDevice1Device2Device3
IPHONE 6S/7/8+ CASETIFY GLITTER TAKEABOWCaseFashion135859CesiumCasetify149.9549.95000144.9544.9500015510.550.55220.620.6IPHONE 6S+IPHONE 7+IPHONE 8+
3 REPLIES 3
dougperez
12 - Quasar

I didn't understand your problem, but you want to the Cost of Goods Sold appears just one time right? 

See the yxmd attached

hudg16
7 - Meteor

My edit provides a better idea of what I am trying to get at ha, sorry. If I have an iphone 8+ sold, I want to be able to link that iphone 8+ to this iphone 8+ case. In the current way I have done it by transposing, I triple the quantity of the case (and all of the numerical values) by transposing the data. 

 

Its an extremely convoluted issue, but basically I want to have my values for the first row, while being able to differentiate the specific item as a 6+/7+/8+ with these values. 

dougperez
12 - Quasar

Ok... This solution helps?

Labels
Top Solution Authors