Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pie Char with Aggr

Hi,

I want to create a simple pie chart for zone dim with the expression in bellow table.

In this table I have 2 dimensions, but for pie chart I only want to see Zone Dim.

I tryed with an Aggr for AssetID expression but there was a error...

Any suggestions...

Thks.

1 Solution

Accepted Solutions
Not applicable
Author

Sorry, about the late response!

I was doint something wrong in the data model, that was my error...

Tkhs.

View solution in original post

5 Replies
Anonymous
Not applicable
Author

Please post expression,so can help.

is the expression same as in table?

Anonymous
Not applicable
Author

Hi!

If I have understood your question, you can try this:

=sum(distinct Zone_W)*sum(distinct Asset_W)

Let me know!

KR

Elena

Not applicable
Author

Can you explain what values would you like to see in the charts so We can understand better your requirement?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

If I understand correctly, you should just use Zone as the Dimension. The Expression should be:

sum(Zone_Weight * Asset_Weight)

Note the multiplication is done within the sum().

-Rob

Not applicable
Author

Sorry, about the late response!

I was doint something wrong in the data model, that was my error...

Tkhs.