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 remove curly braces from an ID to connect tables?

Hi all,

 

I am trying to import some tables using Direct Query and facing an issue while creating a relationship between the tables.
The Key from one of the table randomly contains curly braces around the ID. I tried checking the actual data set and it does not contain these braces. Any idea on how to fix this issue and connect these tables?

thequirkymind_0-1631741737962.png

 

thequirkymind_1-1631741851289.png

 

 

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

Right click on the column>select "Replace values":

vkellymsft_0-1632124668532.png

Then key in { :

vkellymsft_1-1632125266237.png

And }:

vkellymsft_2-1632125286957.png

And you will see:

vkellymsft_3-1632125299200.png

 

For the sample .pbix file,pls see attached.

 

Best Regards,
Kelly

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

 

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi @Anonymous ,

 

Right click on the column>select "Replace values":

vkellymsft_0-1632124668532.png

Then key in { :

vkellymsft_1-1632125266237.png

And }:

vkellymsft_2-1632125286957.png

And you will see:

vkellymsft_3-1632125299200.png

 

For the sample .pbix file,pls see attached.

 

Best Regards,
Kelly

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

 

mahoneypat
Microsoft Employee
Microsoft Employee

In the query editor, you can add two Replace Values steps from the Home tab in the ribbon.  Just put { or } in the top box and nothing in the lower box.  It will replace them with nulls, and then you can relate the two columns.

 

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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