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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
adumith
Helper I
Helper I

ADDCOLUMNS cannot add column [Assignee] since it already exists

I have a tickets table, and I need to count the unresolved requirements by agent and return the result as the agent's name and the number of pending tickets they have to solve.

 

I have tried several formulas, but I haven't been able to achieve the desired outcome.

CountPending = 
ADDCOLUMNS(
zendesk,
"Unresolved", CALCULATE(COUNTROWS(zendesk), zendesk[status] <> "Solved"),
"Assignee", zendesk[assignee]
)

I understand that I should use the ADDCOLUMNS function; however, when I construct the formula, I encounter this error:

 

ADDCOLUMNS cannot add column [Assignee] since it already exists

 

Any ideas?

 

Thank you in advance.

1 ACCEPTED SOLUTION
ray_aramburo
Super User
Super User

Do you need to explicitly add the count result to your source table? If not, just use the measure: 

Not Solved = CALCULATE(COUNTROWS(zendesk), zendesk[status] <> "Solved")

 And create a visual (table) with the Assignee field and that measure. 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
ray_aramburo
Super User
Super User

Do you need to explicitly add the count result to your source table? If not, just use the measure: 

Not Solved = CALCULATE(COUNTROWS(zendesk), zendesk[status] <> "Solved")

 And create a visual (table) with the Assignee field and that measure. 





Did I answer your question? Give your kudos and mark my post as a solution!

Proud to be a Super User!





Hello!

I did it in this way...

CountPending = 
    CALCULATE(
        COUNTROWS(zendesk),
        zendesk[status] <> "Solved" && zendesk[status] <> "Non measurable",
        ALLEXCEPT(zendesk, zendesk[assignee])
    )

 

But thank you, I appreciate your time to response me.

 

Have a good one.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors