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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How have a list of similar products ordered by customers

Hello all

Beginer in Qlik.

I have a table of customers and i want to display only the similar products they ordered ?

  

My Data :

ProductsCustomersQte
Ayves2
Apolo2
Ajean2
Ayves1
Byves1
Byves1
Bjean1
Bjean1
Bjean1
Bpolo1
Cjean2
Cjean2

what i want when i choose My customers?

 

ProductsQte
A7
B6

How can i do that? Thank you for your responses

François

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Answer is here !!!

     Creating a simple chart type chart
     Adding the Products dimension
     Added Display expression: If (count (DISTINCT services) = GetPossibleCount (services), 1, 0)
     Added Qte expression: Display * sum (Qte)
     On the Presentation tab, select the Display column and select "Hide Column"

You have your result:

Community_1199139.png

if you want sparkline

do this :

Remove Dimension Products
     Add the following calculated dimension:
         = Aggr (If (count (DISTINCT services) = GetPossibleCount (services), Products, Null ()), Products)
     Remove Display
     Change the expression Qte: sum (Qte)
     Add your expression sum (Qte) which you will display in sparkline with the week dimension

View solution in original post

7 Replies
marcus_sommer

You could use for this a table-chart or also a bar/line-chart with Products as dimension and sum((Qte) as expression.

- Marcus

krishna20
Specialist II
Specialist II

Hi find the attached one

if suits you make it as correct answer

ashwanin
Specialist
Specialist

take Product in dimension and sum of Qte in expression to get your desired result.

sum(Qte)

Anonymous
Not applicable
Author

can do that in a table chart I guess. !

Anonymous
Not applicable
Author

Thanks for you'r reply

but that give me all the product not only the products that are mutual for

Anonymous
Not applicable
Author

Thank you but i have the free edition

i can't open you're test .

Sorry

Anonymous
Not applicable
Author

Answer is here !!!

     Creating a simple chart type chart
     Adding the Products dimension
     Added Display expression: If (count (DISTINCT services) = GetPossibleCount (services), 1, 0)
     Added Qte expression: Display * sum (Qte)
     On the Presentation tab, select the Display column and select "Hide Column"

You have your result:

Community_1199139.png

if you want sparkline

do this :

Remove Dimension Products
     Add the following calculated dimension:
         = Aggr (If (count (DISTINCT services) = GetPossibleCount (services), Products, Null ()), Products)
     Remove Display
     Change the expression Qte: sum (Qte)
     Add your expression sum (Qte) which you will display in sparkline with the week dimension