Alteryx Designer Desktop Discussions

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

assign price to the internet sales records

tsao88
7 - Meteor

the goal is to assign combo price (listed in dataset001) to each of the internet sales record in dataset002

 

the workflow should verify whether the 4 conditions are fully satisfied based on the conditions established on the combo price list, if all 4 conditions are met, then assign a price to the internet sales record accordingly. If not, output "no combo price available"

 

PS -  I plan to join the 2 sets of data by column A, and if the cell is empty, no restrictions, could be any value or integer

thanks!

6 REPLIES 6
Bren_Spill
12 - Quasar

@tsao88 - use a join tool and join both datasets on all 4 conditions to tag the price to internet sales. Then union back any records on the internet sales side that don't join. Finally use a formula to tag the any null prices with "no combo price available"

 

image.png

Marlene495Hadley
5 - Atom

Hello!

To assign combo prices from dataset001 to internet sales records in dataset002, merge the datasets on column A. Check if all 4 conditions from the combo price list are met for each record. If they are, assign the combo price; if not, output “no combo price available.”

Best Regards,

Panorama Charter Login

tsao88
7 - Meteor

@Bren_Spill can you kindly upload the yxmc file for this sample use case? thanks

Bren_Spill
12 - Quasar

@tsao88 - which step are you having trouble with?

tsao88
7 - Meteor

the union tool and the formula

@Bren_Spill 

Bren_Spill
12 - Quasar

@tsao88 - the union tool shouldn't required any configuration. Just connect the J and R (assuming R contains the internet sales that didn't match). Se it to Auto Config by Name

 

For the formula: if isnull([Price]) then "no combo price available" else [Price] endif...  You'll need to make sure the price field is string before adding the formula

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels