If you want to set a percentage condition, you can simply use the built-in DISC()
function. For example, suppose you need an attribute that takes the value 1 with probability 0.4 and the value 2 with probability 0.6; you can write DISC(0.4, 1, 1, 2)
. Please note that the function operates on a cumulative basis.