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
Dev_B_PBIing
Frequent Visitor

Show parentheses in table

Hello,

I'm a newer user.  I have a table that contains a concatenated column of Idea names and a unique identifier.  I'm wanting to have the unique identifier show with parentheses and cannot figure it out.  My expression:

 

= Table.AddColumn(#"Changed Type2", "Unique Idea Name", each [Idea name]&" "&[Idea ID]) 

 

In this current setup it returns something similar to Employee Documents 70512345678453 where Employee Documents is the Idea Name and 70512345678453 is the Idea ID.  I want the Idea Id to be in parenthese like so Employee Documents (70512345678453).

 

I'd also like to, if possible, add a bunch of spaces between the two: Employee Documents               (70512345678453)

 

I really appreciate any help!

1 ACCEPTED SOLUTION
jgeddes
Super User
Super User

You can try something like...

Table.AddColumn(#"Changed Type2", "Unique Idea Name", each [Idea name]&"     ("&[Idea ID]&")")





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

2 REPLIES 2
jgeddes
Super User
Super User

You can try something like...

Table.AddColumn(#"Changed Type2", "Unique Idea Name", each [Idea name]&"     ("&[Idea ID]&")")





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Thanks that did it!  I needed the ") at the end.

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.