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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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