QlikView:Usando el valor de las dimensiones en la expresión
Frecuentes
Visto 10,866 veces
3
I am trying to figure out how can I use dimension values as one of the set modifiers in Expressions in qlikview. Consider the following:
Raw Data:
PName, count
AB,2
BC,3
CD,4
Dimension:
Name
Expression:
SUM(<{PName=Name}>count)
i-e using the dimension value as one of the set modifiers.
Muchas Gracias
3 Respuestas
1
As @bdiamante said. It is not clear what you exactly want to do.
But I assume that you only want to use the current value of the dimension to calculate the count of names. If that is true, then you can simply say:
Expression:
=sum(count)
HTH
respondido 28 nov., 13:10
1
I believe I understand. Try sum({<Pname=p(Name)>}count)
. This says that pname
will be the possible values of name
. También mira en e()
which is the excluded values.
Respondido el 12 de diciembre de 13 a las 16:12
0
If Name is a literal value, try this:
sum({<PName={'AB'}>}count)
It would always give you the count as if someone had selected PName = 'AB'.
If you only want it to show the count for AB, if AB has not been excluded based on the current selections (e.g. someone has selected PName of 'BC'), then use:
sum({<PName*={'AB'}>}count)
This will give you the count for AB, but only if AB is included in scope for (i.e. intersects with) the current selections.
respondido 13 mar '16, 11:03
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas qlikview or haz tu propia pregunta.
Could please define what you mean by dimension? I ask because the only dimension in your raw data is
PName
and you referenceName
which isn't defined anywhere. IfName
está vinculado aPName
in another table and you have aName
listbox on your dashboard, you simply dosum(count)
and select the values forName
in the listbox. If that won't work for your use case, please provide more info on whatName
is in your context. - bdiamante