Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cgaines
Frequent Visitor

How to count and give credit to each department within the same cell

I'm tracking tasks that I receive for a number of departments each month. I provide the total number of tasks (along with othe task details) back to the each director based on how many they received in that month. Sometimes, the task is for all departments.  I'm having trouble writing the formula to count each department in a cell when there's multiple departments. For example, if the task goes to department A, B, C, D, and department E, I want to be able to give each department credit for that task. Right now its being counted as a single count for whichever departments I put in the cell. No matter how many names, it's still counting it as 1.  It's treating those names as a new department instead of giving each department within that cell credit for the task. My goal is to see if its possible to be able to give each department credit for tasks that are assigned to mulitple departments within that task

3 REPLIES 3
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

I created sample file. The only column I need assistance with is column M. I also include a snapshot of what it's showing when I create a visual for the assigned departments. If I list multiple departments/divisions in the same cell, it does not give each department credit. For example, on the snapshot there are 4-5 departments, my goal is to give each one credit.

 

https://dvagov-my.sharepoint.com/:x:/r/personal/christopher_gaines2_va_gov/Documents/Sample.xlsx?d=w... 

 

cgaines_0-1703688792280.png

 

please check the link, it requires access.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.