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
Anonymous
Not applicable

How to add braces to a count from 1 column with another using power bi desktop

Hello,

 

I need to concatenate 2 count in 1 field and have the 2nd count into brackets.

 

For example:

 

Quarter   Region      Extra work done (0 - No, 1- Yes)

Q2 2024  APAC              0

Q3 2024  AMER             1

Q4 2024  EMEA             1

Q2 2024  APAC              1

Q3 2024  AMER             1 

 

so my final output should show as a pivot with Region on the rows and count of of work done by quarter on the right plus (extra work done). It basically counts the the number of times region is used in the row plus the count of 1's as the extra work done for that region. Appreciate any help on this please

 

Region        Q2 2024       Q3 2024         Q4 2024

APAC               0                1(2)                 0

EMEA              2(4)            3(1)                 2(1)

AMER              2(2)            7(4)                 3(0)

2 ACCEPTED SOLUTIONS
dharmendars007
Super User
Super User

Hello @Anonymous , 

 

You can create 2 measure and concatenate the same as one and add it to the Matrix Visual

 

Measure 1.  Total Count = COUNTROWS('YourTable')

 

Measure 2.  Extra Work Count = CALCULATE(COUNTROWS('YourTable'), 'YourTable'[Extra work done] = 1)

 

Concatenated Measure

 

Concatenated Measure =
VAR Total = [Total Count]
VAR ExtraWork = [Extra Work Count]
RETURN
Total & "(" & ExtraWork & ")"

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

View solution in original post

Anonymous
Not applicable

Hi @Anonymous 

Did the solution @dharmendars007  offeded help you solve the problm, if it helps, you can consider to accept it as a solution so that more user can refer to.

 

Best Regards!

Yolo Zhu

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous 

Did the solution @dharmendars007  offeded help you solve the problm, if it helps, you can consider to accept it as a solution so that more user can refer to.

 

Best Regards!

Yolo Zhu

dharmendars007
Super User
Super User

Hello @Anonymous , 

 

You can create 2 measure and concatenate the same as one and add it to the Matrix Visual

 

Measure 1.  Total Count = COUNTROWS('YourTable')

 

Measure 2.  Extra Work Count = CALCULATE(COUNTROWS('YourTable'), 'YourTable'[Extra work done] = 1)

 

Concatenated Measure

 

Concatenated Measure =
VAR Total = [Total Count]
VAR ExtraWork = [Extra Work Count]
RETURN
Total & "(" & ExtraWork & ")"

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes 👍 are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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