Forum Discussion
Anonymous
4 years agoNot applicable
Count rows containing value
Hi, I'm trying to count the rows containing specific values. I've tried this: Table.FindText(PQPFocus[Vekt utenfor norm],2) ... but I'm getting a cyclic error. My column [Vekt utenfor...
- 4 years ago
Hello,
I would suggest you to use DAX instead of Power Query for your need.
Example:
NumberOfTwo = CALCULATE( COUNT(PQPFocus[Vekt utenfor norm]), PQPFocus[Vekt utenfor norm] = 2 )Same thing for 5 etc.I hope this will answer your question.
Anonymous
4 years agoNot applicable
I used countrows, but I need it to give me the number in each row, not just mark the numbers with 1...