I am trying to build a report using activity logs. I am able to extract activity logs, however, these logs are not in the proper format and Power BI does not recognize this JSON file. Sometimes, the power bi service provides blank records, so I get below the pattern.
If I remove [] highlighted pattern with “,”, then it works fine. I am able to do the same thing in the text but not in this file attached. The below pattern works fine for text but not for this file.
I am unable to find any solution. Does anyone has any idea about solving this problem in Power Shell. Attached is the sample file. I will really appreciate if someone can provide solution. Thanks!
Hi @Naila, due to inactivity, a response on this post has been tagged as “Solution”. If you have any concern related to this topic, you can create a new thread.
Thank you so much for providing the solution. I had implemented this solution and it worked perfectly fine for me and I didn’t get a chance to look back at that project again . I got busy with another project and could not reply. I am so sorry for that.
Thanks again for taking the time to provide this solution.