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: 
xzerolx86
Contributor
Contributor

Related Purchase Chart/table - Qlik Sense

I have a question about chart/table development in Qlik Sense.
I have the following situation.
I have two columns, where one has a purchase code and the other has the product.
Each code can have one or more purchases together.
I need to have a filter, where, filtering by product, you need to bring that product and all other related products that have that same note. Here is a table to illustrate:

Captura de tela 2023-12-21 103447.png
After filtering "Banana", it should appear like this:
Captura de tela 2023-12-21 103606.png
Can you help me with any suggestion of function or measure to bring this situation into a final table/view?

Labels (1)
2 Replies
vincent_ardiet_
Specialist
Specialist

If you have an expression also in your table (like a sum of quantity, or sum of amount), you can use this set analysis:
{<produto,codigo=p(codigo)>}


anat
Master
Master