Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
=Dual(Replace(Class({<field={'Value1'}>}field,Range2),'<= x <', '-'),Class({<field={'Value2'}>}field,v_Range2))
am getting a syntax error in this,highlighted in pink,
how to resolve this.
You are trying to use a set expression with a function that is not an aggregate function.
Set expression may only be used with aggregation functions. The Class()-function is not one of those. So that is why you get a syntax error in your expression....
Hi,
Class() does not allow for set expression in the syntax.
The set analysis is used when you have Aggregate functions like Sum, Count, Max and Min.. But, You may try this? Before attempt think which object it is, For sure this is not a dimension and Script
=Dual(Replace(Class(Only({<field={'Value1'}>}field),Range2),'<= x <', '-'),Class(Only({<field={'Value2'}>}field),v_Range2))
this expression is written in dimension tab
Will make one shot for you, Would you like to attach sample?