Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have a column Department, that contains all the organisation departments eg
Deparment
Finance
Adminstration
Client Services
HR
Board
HR
HR
Finance
Finance
Finance
Technology
how can I count the total of each department in the 1 column
TIA
Solved! Go to Solution.
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.
Hy @dd88
You can get your desired output by this simple measure.
Best Regards,
Muhammad Yousaf
If this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly.
Hi @dd88
Have you solved your problem? If so, could you please mark the helpful replies as Answered to close this topic and that can help other members find it faster?
If not, could you please share your data(exclude sensitive data), or create some sample data, and your target outcome, so that we can help you better.
Thank you very much for your kind cooperation.
Best Regards
Zhengdong Xu
If 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
Proud to be a Super User! |
|
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 = 1
Finance = 4
HR = 2
Technology = 1
TIA
Hy @dd88
You can get your desired output by this simple measure.
Best Regards,
Muhammad Yousaf
If this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly.
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.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 82 | |
| 48 | |
| 36 | |
| 31 | |
| 29 |