Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
razvan_brais
Creator III
Creator III

Sum for each column value in pie-chart

Hy guys , I have a table in which I have this kind o data:

IDDescriptionSales
1Laptops50
1Phones130
1Watches40
2Laptops60
2Phones75
3Laptops30

I want to show in a pie chart values for a selected ID for each type of description.

I don`t want to use Description as a dimmension because I need to bring in this pie chart values from other tables .

Thank you

Labels (1)
1 Solution

Accepted Solutions
razvan_brais
Creator III
Creator III
Author

Thanks a lot guys for your answers , but I have change a bit the aproach. I brought all my info in one table because I wanted to avoid all these calculation that could make my app work slowly.

View solution in original post

5 Replies
Anil_Babu_Samineni

Where is the other table,

ID - Dimension

Expression - Sum({<ID=, Description = {"*" - Aggr(GetFieldSelection(ID),Description)}>}Sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
susovan
Partner - Specialist
Partner - Specialist

Is it your requirement?

Warm Regards,
Susovan
razvan_brais
Creator III
Creator III
Author

Thanks a lot guys for your answers , but I have change a bit the aproach. I brought all my info in one table because I wanted to avoid all these calculation that could make my app work slowly.

rupamjyotidas
Specialist
Specialist

Its a good thing to close the discussion , once you have solved your problem. Thanks

deepakqlikview_123
Specialist
Specialist

Hi,

Create the composite key for first 2 col.

Use that as a dimension and put label as per ur naateed. Or cree extenal inline tble for showing associatons and name that as per req.

Thanks