Forum Discussion
PowerBI Desktop Freezes [Not Responding]
I use a 16gb ram Laptop and I still experience these issues most especially when I am using query editor.. my data source is SharePoint online list at every point in time it freezes over everything done import, edit, measures, append and everything you can do with the editor and this has greatly affected my turn around time.
- neatdot6 years agoHelper I
I used to encounter lots of performance issues around importing data and folders from SharePoint Online, until I undertook a major optimisation of my Power Query code. I tried to minimise the number of query steps that were generating a refresh of data back to SharePoint. I found that the biggest improvement came from buffering the SharePoint data at the point of pulling the data from SharePoint, like this:
RET =
Table.Buffer(
Table.RenameColumns(
Table.SelectRows(
SharePoint.Files(
"https://" & TENANT_NAME & ".sharepoint.com/",
[ApiVersion = 15]
),
each(
// RET
[Name] = RET_FILE and
Text.Contains([Folder Path], RET_PATH)
)
),
{{"Folder Path", "FolderPath"}}
)
),Since doing this I've had no issues with SharePoint Online performance.
- Anonymous6 years agoNot applicable
neatdot please can you do screen on how to insert this code and where to insert them thanks.