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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
suvechha
Helper IV
Helper IV

Need help in data transform .

Hi there,

 

How can I get rid of the second curly brackets in front and end and save it in another column ?

Capture.PNG

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

In the query editor on the Add Column tab, select your column and choose Extract/Text Between Delimiters and put { and } in the pop-up fields.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

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


View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

The cheapest might be to run two Table.ReplaceValue calls.

 

...
    #"Replaced Value" = Table.ReplaceValue(#"Previous Step","{","",Replacer.ReplaceText,{"BBP_ACTIVITYID"}),
    #"Replaced Value1" = Table.ReplaceValue(#"Replaced Value","}","",Replacer.ReplaceText,{"BBP_ACTIVITYID"}),
...
mahoneypat
Microsoft Employee
Microsoft Employee

In the query editor on the Add Column tab, select your column and choose Extract/Text Between Delimiters and put { and } in the pop-up fields.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

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
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.