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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
mariamovasheli
Contributor III
Contributor III

Cumulative Area Chart

HI,

I need to make cumulative area chart. on Y axis to have cumulative percentage of sales. and also sort by companies sales Descending.

Can You Please Tell me how Can I achieve this?  

Qlik.PNG

11 Replies
JordyWegman
Partner - Master
Partner - Master

Do you need the time as dimension on the x-axis?

Dimension 1:Put the time as a dimension

Dimension 2: Put the companies as a dimension

Measure 1: For the % on the Y axis: Sum(Volume) / Sum(TOTAL Volume).

Work smarter, not harder
Anil_Babu_Samineni
MVP
MVP

This is really tough to explain, Better if you can make sample QVF file?

Num(Rangesum(Above(Sum(SALES),0,rowno(TOTAL))),'#,##0%')


Or

Rangesum(Above(Sum(SALES),0,rowno(TOTAL)))/Count(FieldName)

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
sunny_talwar
MVP
MVP

sales in descending order? But you have the x-axis to be Month... you want to reorder month to be based on sales?

mariamovasheli
Contributor III
Contributor III
Author

no I want descending on Y axis where I have sales. to start With the company witch has Highest Volume of sales and then who have less.this Cumulative Area To be sorted

sunny_talwar
MVP
MVP

Oh okay... I got you... would you be able to share a sample qvf to test this out?

mariamovasheli
Contributor III
Contributor III
Author

Sorry I can't

sunny_talwar
MVP
MVP

Mock up data to test it out?

mariamovasheli
Contributor III
Contributor III
Author

Yes but  I don't know how To share mock Up data

sunny_talwar
MVP
MVP

Put that in an Excel file and share it here

Uploading a Sample