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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
viralkmehta1968
Partner - Contributor II
Partner - Contributor II

Creating a pie chart where the expression is a product of a dimention and another expression?

Hi,

I need to create a pie chart with one dimension and 2 expressions as follows:

Dimension: D1

Expressions: 1) Number of Units = COUNT(DISTINCT UNIT_ID)

                    2) TEU = Number of Units * Length/20 where Length is a dimension (not a measure) that I do not want to use in the pue chart.

Thank you,

Viral Mehta

5 Replies
sunny_talwar

Would you be able to share some sample data and explain the output you are looking to get?

viralkmehta1968
Partner - Contributor II
Partner - Contributor II
Author

See attached Word document that explains my requirement.

Thank you,

sunny_talwar

I guess I am still not sure how you imagine seeing this in the pie chart?

viralkmehta1968
Partner - Contributor II
Partner - Contributor II
Author

My pie chart will have 1 dimension - LINE and 1 expression - 'Inventory Units' But the calculation of invebtory units (as I mentioned earlier) involves a dimension (LENGTH)  not used in the pie chart.

Hope that makes it clear.

sunny_talwar

Sorry but still not sure... may be someone else can offer you help.

Best,

Sunny