Hello,
Anyone used the indexCol function in the web semantic modeler?
I tried to use it to replace a simple case in a calculated column. The calcul was valid but on deploy a get a strange error (first parameter of indexCol is not un integer)
For example to replace this case:
CASE WHEN genre = 'H' THEN 'Homme' WHEN genre = 'F' THEN 'Femme' ELSE 'NR' END
with
INDEXCOL(CASE WHEN genre = 'H' THEN 0 WHEN genre = 'F' THEN 1 ELSE 2 END , 'Homme', 'Femme', 'NR')
Thanks!