Value labelshi,
I try to replace "0,00%" by empty space via JSL inside the column "RmG"
I wrote this script:
Column( dt, "RmG" ) << Value Labels( {"0%"}, {""} );
Column( dt, "RmG" ) << Use Value Labels( 1 );
but it doesn't work.
Thanks for your help.
best regards
Re: Value labelsCan you give some more details about how it doesn't work?
Is the Value Label property applied but you have values that are not getting labeled? If so, we'll need some details about the column, like it's data type and the values in it? Posting a small sample that demonstrates the problem would be best.
Or, is the Value Label property not applied at all from your JSL? If so, is there any error message in the Log Window?
Re: Value labelsHi,
It doesn't work and I don't understand why.
best regards
Re: Value labelsYour syntax is incorrect for setting a Value Labels. If the RmG column is character, the label should be set with:
Column( dt, "RmG" ) << Value Labels( {"0%" = " "} );
However, I suspect the RmG column might be a numeric column, and if so, the label should be set with:
Column( dt, "RmG" ) << Value Labels( { 0 = " "} );