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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Blue407
Frequent Visitor

Help splitting column in PowerBi DirectAccess

I am manipulating some data from a Log Analytics Workspace, the data is logs from Intune.

One of the columns that is imported includes lots of information seperated by commars, semicolons etc.

I want to find one particular string and get the value.

 

For example {"ActivityDate":"6/5/2024 10:39:05 AM","ActivityResultStatus":1,"ActivityType":3,"Actor":{ActorType":1,"Application":"5926fc8e-304e-4f59-8bed-58ca97cc39a1","ApplicationName":"Microsoft Intune Portal extension",TargetObjectIds":["f8cfc42f-2209-4018-8b45-e263a4042e24"],.......

 

I need to create a column with the TargetObjectIDs f8cfc42f-2209-4018-8b45-e263a4042e24 so I can link that to another table to lookup the DeviceName.

 

Any suggestions?

 

 

1 ACCEPTED SOLUTION
MikeAinOz
Helper V
Helper V

You'll need to parse the JSON data in the column. This can be done in Power Query. Check this out https://learn.microsoft.com/en-us/power-query/parse-json-xml

I haven't done this for a while, but you should be able to add a column with the parsed json and then expand the column that you want.

View solution in original post

3 REPLIES 3
MikeAinOz
Helper V
Helper V

You'll need to parse the JSON data in the column. This can be done in Power Query. Check this out https://learn.microsoft.com/en-us/power-query/parse-json-xml

I haven't done this for a while, but you should be able to add a column with the parsed json and then expand the column that you want.

lbendlin
Super User
Super User

You are supposed to parse the JSON.

@lbendlin could you please give a bit more information and context as I am new to doing this and learning as I go.

 

I tried adding a step in the DirectQuery to split the column by delimiter, but it will not let me do this unless the table is in import mode. 

 

I also tried adding a new column with a SEARCH string, also not allowed in DirectAccess.

 

 

 

 

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors