March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
HI Community
I have a string, that I get from a PowerShell script, This script creates a report from SharePoint page views, so, in the context of the information the audit data has a very large string.
I need extract some parts of the string but I need a search all registers that start with "http" and finish ".aspx" or ".pdf" words
this is the example register that I need to extract
The delimiter by default ( point, comma, quotes, etc) doesn't work, this is because some operations, types, or audit data change in size even in localization
Thanks for the help
Solved! Go to Solution.
Thanks guys
I resolve this with a dax,
Thanks guys
I resolve this with a dax,
the whole file is not needed, you create a few examples and paste the court
This looks like JSON maybe? There is a "parse JSON" button in the toolbar in Power Query, if you use that on the field it will let you expand out specific parts as columns without needing to split on characters.
Hi Chirstine
thanks
Its a colum of an power shell extraction report, its a csv file
I tried split columns before, but the process splits a lot of columns, I was looking for a specific solution
The file is CSV but the text in that column looks like JSON - did you try the parse JSON button with that column selected? I have done this with CSV exports from the audit logs personally, so it does work. Parse and then expand out the fields you want into new columns.
Share sample pbix file to help you.
Hi Ahmedx
Thanks
It´s a little dificult share this files, you know, company sharing restrictions
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
User | Count |
---|---|
112 | |
95 | |
92 | |
78 | |
45 |
User | Count |
---|---|
198 | |
162 | |
92 | |
79 | |
67 |