Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Parameters & switch

Puedo decirle a un campo particular en una tabla que coloque el valor seleccionado del parámetro según la referencia a otra columna de la misma tabla?
  • datariusarg's avatar
    3 years ago
    here the code of the question
    Is it possible that the fields of the model2 column are completed according to the value that is entered to the reference parameter?
     
    modelo2 = SWITCH(TABLE[VALOR],"A",'parametro1'[parametro1]),"B",'parametro1'[parametro1])