Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31068

Power BI audit log is CSV with embedded JSON. How can Power Query parse the JSON and create columns?

$
0
0

From the O365 Amin it is possible to produce and export an audit log of all Power BI activities. The file produced is CSV and one of the columns is filled with JSON data.

Example:

2018-02-09T17:40:44.0000000Z,abcdefg@xyz.com,InstallApp,"{""RecordType"":20,""CreationTime"":""2018-02-09T17:40:44"",""Operation"":""InstallApp"",""UserType"":0,""Workload"":""PowerBI"",""UserId"":""abcdefg@xyz.com"",""UserAgent"":""Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML"",""Activity"":""InstallApp""}"

 

How can I use Power Query to parse the JSON within the CSV and create/populate columns from the JSON?


Viewing all articles
Browse latest Browse all 31068

Trending Articles