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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikclack
Contributor II
Contributor II

How do you group data in a table by multiple columns?

I have a data set that contains a buyer and a seller. I want to group my table such that each group contains all the information on projects they were buyer or seller. I also want to be able to filter projects where they were both a buyer or seller. I'd also only like to include projects where they were both a buyer and seller meaning each group should have a minimum of 2 projects but can have more. I've attached an imagine of what I would want my table to look like from another software. 

filterissuespt3.PNG

Labels (1)
1 Solution

Accepted Solutions
Sebastian_Dec
Creator II
Creator II

OK now I understand. As far as I know, this cannot be done in Qlik.

 

In Pivot u will have like this (its require measures) :

Sebastian_Dec_0-1690954294221.png

 

In Table it look better:

Sebastian_Dec_1-1690954324216.png

 

Thanks & Regards,
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

4 Replies
Sebastian_Dec
Creator II
Creator II

You can use pivot table to do that and define Dimensions (Row and Column) and Measures (Values).

Row will be Name (if you want You can not set Column).

 

Another path is to make a separate table for each "name" and limit the scope to only that value in Edit expression

Thanks & Regards,
Please close the thread by marking correct answer & give likes if you like the post.
qlikclack
Contributor II
Contributor II
Author

The problem I am having is that I want it to filter on the Buyer or Seller. Currently it pulls the projects where the buyer = seller. I want one project where they are buyer and one where they are seller at minimum. It can be more than 2 but it needs at minimum one project buyer and one project seller. 

Sebastian_Dec
Creator II
Creator II

OK now I understand. As far as I know, this cannot be done in Qlik.

 

In Pivot u will have like this (its require measures) :

Sebastian_Dec_0-1690954294221.png

 

In Table it look better:

Sebastian_Dec_1-1690954324216.png

 

Thanks & Regards,
Please close the thread by marking correct answer & give likes if you like the post.
qlikclack
Contributor II
Contributor II
Author

Thank you for attempting to solve it. I was just curious to see if it could be solved within Qlik.