Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Formel in Variable rechnet nicht auf Dimension

Hallo zusammen

Ich habe für eine Formel eine simple Variable hinterlegt ( VaribleA =count( distinct Person))

Diese habe ich nun in einer Pivot-Tabelle mit einer Dimension abgebildet:

Dimension = Altersgruppe   / Formel = $(VariableA)

bild.png

Wieso wird die Kennzahl nicht nach der Altersgruppe aufgeteilt?

Die Daten sind alle in einer einzigen Tabelle hinterlegt.

Für ein Feedback schon jetzt vielen Dank und Gruss

Xaver

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Create your variable without "=" sign:

Variable expression:

count( distinct Person)

Pivot table expression:

$(YourVariable)

View solution in original post

3 Replies
Not applicable
Author

Hi,

it seems that aggr function would be helpful in this case.

Try to transform that pivot table to straight. What result do you get?

regards

Anonymous
Not applicable
Author

Create your variable without "=" sign:

Variable expression:

count( distinct Person)

Pivot table expression:

$(YourVariable)

Not applicable
Author

Thanks for the tipp!

Gruss

Xaver