Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I'm having a problem with my Set Analysis. I'm trying to count all fields in a table where the contents = <?> here is my code
sum({<[$Fields]={'<?>'}>} 1)
Can some one point me in the right direction.
Thanks
Ok, try this expression:
=pick(Match($Field, $(=concat( chr(39) & $Field & chr(39),',' )) ),
$(=concat( 'count({<[' & $Field & ']={' & chr(39) & '<?>' & chr(39) & '}>} [' & $Field & '])' ,',')))
=COUNT({<FieldName = {'<?>'}>}FieldName)
Thanks Manish
But I have tried that already and all it returns is zero
The count must be over $Field not $Fields - try this:
count({<[$Field]={'<?>'}>} [$Field])
- Marcus
Thanks Marcus
Still returns 0.
Than you has no field with <?> and you need another search-string, for example {'*gruppe'} or {"*gruppe"} worked for me.
- Marcus
My guess is that he wants something else. Perhaps one of the two calculations from the attached qvw (from the Silly Tricks Department).
Your on the right line but I need to count how many <?> I have in each row for example in F2 there is 3. Not sure if Qlikview can do this.
Hi,
I have updated the report posted by Gysbert.
Hope this helps!
Regards,
Laxmi
Ok, try this expression:
=pick(Match($Field, $(=concat( chr(39) & $Field & chr(39),',' )) ),
$(=concat( 'count({<[' & $Field & ']={' & chr(39) & '<?>' & chr(39) & '}>} [' & $Field & '])' ,',')))