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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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