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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.