cancel
Showing results for 
Search instead for 
Did you mean: 
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
Solution Sage
Solution Sage

You can try something like...

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

View solution in original post

2 REPLIES 2
jgeddes
Solution Sage
Solution Sage

You can try something like...

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

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

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors