Forum Discussion
count rows with same value in the one column
- 2 years ago
Hi,
In Power Query, create another tables with the unique departments. Create a relationship (Many to One and Single) from your Fact tables to the new tables. To a Table visual, drag Department from the new table. Write this measure
Count = countrows(Data)
Hope this helps.
- 2 years ago
Hy dd88
You can get your desired output by this simple measure.Best Regards,
Muhammad YousafIf this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly.
dd88 , You can create a measure using below
- dd882 years ago
Post Patron
thank you bhanu_gautam
The result is a total departments ie 9
I would like to count the total of each department in the 1 column eg using the above data
Department column
Adminstration = 1
Board = 1
Client Services = 1Finance = 4
HR = 2
Technology = 1
TIA
- Ashish_Mathur2 years ago
Super User
Hi,
In Power Query, create another tables with the unique departments. Create a relationship (Many to One and Single) from your Fact tables to the new tables. To a Table visual, drag Department from the new table. Write this measure
Count = countrows(Data)
Hope this helps.
- muhammad_786_12 years ago
Solution Supplier
Hy dd88
You can get your desired output by this simple measure.Best Regards,
Muhammad YousafIf this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly.