JeroenBoon
Technical User
Hello,
I have the following problem:
I want to make the grouping in a report flexible in this way:
{@group} formula:
if {?group}='amount' then INT({@turnover}/5000) else
if {?group}='BU' then {@Businessunit} etc
where: the result of INT({@turnover}/5000) is a number and {@Businessunit} is a string. Now CR tells me that either the first has to be a string, or the second has to be a number: they both have to be the same. But when I convert INT({@turnover}/5000) into a string, the groupsorting isn't anymore like I want it (I want a decreasing order based on the numbers and not an 'alhpabetical' order)
What to do?
Thanks, Jeroen.
I have the following problem:
I want to make the grouping in a report flexible in this way:
{@group} formula:
if {?group}='amount' then INT({@turnover}/5000) else
if {?group}='BU' then {@Businessunit} etc
where: the result of INT({@turnover}/5000) is a number and {@Businessunit} is a string. Now CR tells me that either the first has to be a string, or the second has to be a number: they both have to be the same. But when I convert INT({@turnover}/5000) into a string, the groupsorting isn't anymore like I want it (I want a decreasing order based on the numbers and not an 'alhpabetical' order)
What to do?
Thanks, Jeroen.