Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Matt22365
Resolver III
Resolver III

query editor group by rows - text data

Hi

I hope someone can help

I have pulled some product data into query editor and pivoted to convert rows into columns to create an ingredient summary table which I can then use to create a column to use as a filter.

Unfortunatly in the query editor i have now got multiple rows for each product depending on the ingredient column rather than 1 row which covers all ingredients

Example data below

Is there a way to group the row column so I get 1 row per product in query editor?

Thanks for your help

ProductIngredient 1Ingredient 2Ingredient 3Ingredient 4Ingredient 5
Product 1Yes    
Product 1 Yes   
Product 1  Yes  
Product 1   Yes 
1 ACCEPTED SOLUTION
Matt22365
Resolver III
Resolver III

Thanks to anyone looking at this but Ive managed to find the answer
When I pivoted the data originally I did it with the product number as the Values column, instead I created a "Yes" column (a column which just said Yes in every line) and used that instead. Now I have athe table I needed

Thanks again

View solution in original post

2 REPLIES 2
Matt22365
Resolver III
Resolver III

Thanks to anyone looking at this but Ive managed to find the answer
When I pivoted the data originally I did it with the product number as the Values column, instead I created a "Yes" column (a column which just said Yes in every line) and used that instead. Now I have athe table I needed

Thanks again

Anonymous
Not applicable

Hi @Matt22365 ,

Thanks for your feedback and sharing the solution. Could you please mark your post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.