Hi all, if have a measure in VA 8.3 which is defined by a IF-RETURN-ELSE Statement, let's call it test-measure: IF 'parameter'p = "a" RETURN 0.01 ELSE 1 I would like to have percent12.2 'if parameter'p = "a" and comma12. if 'parameter'p ^= "a". But formats in VA are linked to the format of test-measure. I tried to define a character-variable called format by IF 'parameter'p = "a" RETURN "COMMA12." ELSE "PERCENT12.2" and changed the xml file of my report by adding the variable name of my new character variable to the format statement of the old one, but it did not work(the code looked like this: (<AggregateCalculatedItem dataType="double" name="bi5139" label="Berichtsgröße" format="bi1234"> <Expression>cond(eq(#{pr2548},'Relationen'),times(${bi5044,raw},100),${bi5134,raw})</Expression> VA could not recognize it and compiled the variable as BESTX. Is there any other workaround for my problem?
... View more