Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

igdrazil
Contributor III

Class Function

Hi Qlik'ers,

i'm using a class function that looks like this:

=class(Heigth, $(vTest))

vTest:

count(Distinct Height)

so my problem is that i'm told that i have an unvalid dimension. When i put a real number in vTest it is working.

Can't the class function handle aggregations? The value would be something like 580, and when i put it in there it's working.

I hope someone can help me.

Regards

Chris

1 Solution

Accepted Solutions

Re: Class Function


You need equal sign

=count(Distinct Height)

2 Replies

Re: Class Function


You need equal sign

=count(Distinct Height)

igdrazil
Contributor III

Re: Class Function

Thank you Robert,

i thought that the variables would put it infront of the count because it is a formula field.

Regards

Chris