Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to create a straight table with dimension of "$Field" and expression of count() of field named in $Field. Pseudo code for expression would be something like:
=count( ValueOf($Field) )
I've tried:
=count($(='[' & [$Field] & ']'))
but that only works when one $Field value is selected.
Any ideas?
Thanks,
Rob
Hi Ralf
In attachment you can see my problem,for decreasing file size I select only first 100 records
So thanks
Hassan
Thanks. I guess we're hitting a limitation here of maximum expressions per field (Count Expression) or something else. I have no idea at the moment. At least it works if one table is selected..
I think it's related to some similar to this one: http://community.qlik.com/message/22129#22129
- Marcus
Thanks a lot Rolf, that's correct , this situation is better than noting and solve some problem for me .
I want to split my project to some smaller size of filed count.
Hi rbecher,
Thanks for the great answers! How would you be able to count null records in $Field? I suppose it is similar to the blanks answer you gave but can't figure it out.
Thanks!
Oh I missed that! Awesome! Thanks!!!
You can use formula like this to not to hit limitation:
Pick(Match($Field,$(=Concat({1}TOTAL CHR(39)&$Field&CHR(39),','))),
$(=Concat({1}TOTAL 'count({1}'&$Field&')',','))
)
Ralf, It's an Excellent Solution
use fieldvaluecount(fieldname)