Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi all,
ihv the following script..i want to change it into set analysis..
can any one give me set analysis expression for this..urgent
count(case when abc ='L' then 1 else null end )
thanks in advance!!!
Smiley
count({<abc={'L'}>} abc)
Does that help?
Hi
You can't use set analysis in script, it is only for expressions. In your case, use
Sum(If(abc = 'L', 1))
Regards
Jonathan
Hi
I'm not over sure of what you are trying to achieve, but could you not use a simple if function as below;
if( abc = 'L', 1,0) as count
Regards
Steve
hi try this.
count({<abc={'L'}>}DISTINCT abc)