Forum Discussion

Rosalind90's avatar
Rosalind90
Frequent Visitor
2 years ago
Solved

How to distill results down to single instances in a new table

This is a follow up to this solved question 

I originally asked how to return a result based on a step-by-step process. I got a great answer from lbendlin, and have a new question:

I now need to take the results from "Group Status", and only have them displayed once, either in a new column, or having the column be simplified somehow. I have a feeling it involves keeping the self-referential aspect for "Groups" and maybe list.distinct or list.single, but I'm not sure where to go with that.

Here is the data I'm working with now (opens in a sheets file) 

Thanks!

 

  • lbendlin's avatar
    lbendlin
    2 years ago

    you can either group by "Groups" and "Group Status"  in Power Query , or you can opt to do that all in Power BI which will automatically group these for you.

4 Replies

  • If you group by the Group Status field you need to indicate what to do with the other data.

    • Rosalind90's avatar
      Rosalind90
      Frequent Visitor

      It may be best to have this be a second query, so the results can go to another table. That way all the data can be kept from the initial query. I hope that simplifies things. I've included a table of what I'm hoping to achieve in this result:

       

      redMeasure coffee beans
      blueGrind coffee beans
      greenMeasure coffee beans
      yellow Add grounds to filter
      • lbendlin's avatar
        lbendlin
        Icon for Super User rankSuper User

        you can either group by "Groups" and "Group Status"  in Power Query , or you can opt to do that all in Power BI which will automatically group these for you.