Forum Discussion
thegusman
6 years agoHelper I
Distinct Count in Query Editor... Is Group by the only solution
I have multiple columns that I need to do a distinct count within query editor. It seems that Group By is the only option... Do I need to preform a group by for every column, delete the extra colu...
artemus
6 years agoMicrosoft Employee
What is the format of the table you want to have at the end? E.g.
| ColumnName | Term | Count |
| Column1 | Value1 | 4 |
| Column1 | Value2 | 6 |
| Column2 | Value1 | 1 |
thegusman
6 years agoHelper I
| Fruit | Vegetable | FruitCount | VegetableCount |
| Apple | Carrot | 1 | 2 |
| Orange | Carrot | 3 | 2 |
| Peach | Cucumber | 2 | 2 |
| Peach | Tomato | 2 | 1 |
| Orange | Onion | 3 | 1 |
| Orange | Cucumber | 3 | 2 |