Hi,
I am building a model where I want to assign labels to indicate that I have 3 different types of products, the product type will be based on %. I therefore search for a way to write:
Give product label 1 for 20 % of the products
label 2 for 40% of the products
label 3 in the rest of the cases
And then send the products in different channels depending on label.
Do you have any suggestions of how to model it?
I am thankful for the help!
Best regards,
Assigning 3 types of products based on percentages
- Margit Thomsen
- Posts: 5
- Joined: Monday 17 January, 2011 - 10:19
Re: Assigning 3 types of products based on percentages
Hello Helbe,
if you don't want to use 4DScript Code to solve the problem you can implement the Empirical Distribution Atom (Library / Tools).
In the small example model attached the labels are set up cumulative in the Empirical Distribution Atom according to your example. The channel number is written on the product in the Source - Trigger on creation.
I wish you success with setting up your own model.
Best regards
Margit
if you don't want to use 4DScript Code to solve the problem you can implement the Empirical Distribution Atom (Library / Tools).
In the small example model attached the labels are set up cumulative in the Empirical Distribution Atom according to your example. The channel number is written on the product in the Source - Trigger on creation.
I wish you success with setting up your own model.
Best regards
Margit
- Attachments
-
- Empirical Distribution with Channel numbers.mod
- (22.23 KiB) Downloaded 302 times
Re: Assigning 3 types of products based on percentages
Hi,
Thank you for the reply!
I will try it
Thank you for the reply!
I will try it