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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Data cleaning

Hello!

I have an issue in data. From one of the application I am loading project related information in DIM_PROJECT (SQL table). But few columns has following format:

PROJECTNUMBERBUILDING
10001["New","Rehab","Annex"]
10002["New"]
10003["New","Rehab"]
10004["New"]
10005["Rehab","Vehicles"]

 

Is there any DAX formula to remove this -- [""] from the values to get the following output?

 

PROJECTNUMBERBUILDING
10001New,Rehab,Annex
10002New
10003New,Rehab
10004New
10005Rehab,Vehicles

 

 

Regards

Priya

1 ACCEPTED SOLUTION

If you want to do this through DAX instead of the query editor, you can use substitute() https://docs.microsoft.com/en-us/dax/substitute-function-dax

View solution in original post

2 REPLIES 2
VijayP
Super User
Super User

In Power Query Editor , in you can replace values .

Follow the steps , First remove the Double Quotes and then Squre Brackets

Vijay

2019-07-15_130346.jpg2019-07-15_130459.jpg




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


If you want to do this through DAX instead of the query editor, you can use substitute() https://docs.microsoft.com/en-us/dax/substitute-function-dax

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.