Forum Discussion
TestDummy
2 years agoRegular Visitor
Counting values in multiple columns
I am needing help on how to get the count or total of each different category value from both the "VOC Issue" and "VOC Issue 2" combined. Below is my data and then an example of the results I'm looki...
- 2 years ago
=Table.Group(Table.FromColumns({Table.Column(PreviousStepName,"VOC Issue")&Table.Column(PreviousStepName,"VOC Issue 2")},{"VOC Issue"}),"VOC Issue",{"Count",Table.RowCount})
TestDummy
2 years agoRegular Visitor
Thanks for the response, but it still a bit new to this. Could you explain a bit? Also would this be added as "new column" or "new measure"? I tried copying it into both and got errors.
wdx223_Daniel
2 years agoCommunity Champion
this is a M code, not DAX