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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

accumulate the sales

hi all,

i have a straight table which shows customers versus their sales

CustomerSales
Customer A100
Customer B
120
Customer C
300
Customer D
230

The total sales here is 750

i want to add a slider and the user to select the value accumulate to the total sales is colored with red

i.e if the customer select 40 from the slider that means hw wants to give a red color to customers who accumualte to 40% of total sales which is 40*750/100=300

so, customer A,Customer B and Customer C will be highlighted by Red Color

how to make this??

Labels (1)
1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Hi Mona,

see attachment.

Regards,

Antonio

View solution in original post

4 Replies
MarcoWedel
MVP
MVP

why do customer A,Customer B and Customer C accumulate to 40% of total sales?

Is it because of the order in this table? Does this mean, customers sorted by name do have to accumulate to 40%?

please clarify.

thanks

regards

Marco

Not applicable
Author

yes, it's according to their sort

antoniotiman
Master III
Master III

Hi Mona,

see attachment.

Regards,

Antonio

MarcoWedel
MVP
MVP

Hi,

one solution:

QlikCommunity_Thread_130516_Pic1.JPG.jpg

hope this helps

regards

Marco