Forum Discussion

Matt22365's avatar
Matt22365
Resolver III
4 years ago
Solved

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 
  • 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

2 Replies

  • 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's avatar
      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