Forum Discussion
Courtsheagraham
3 years agoRegular Visitor
Using List.Contains causing long load time
Ok...let me see if I can explain this and get some help. I've got static data in an external excel sheet. I've loaded that into power query, then Transformed a column to Convert to List and named ...
- 3 years ago
In each table/query where you use the list, add a step up front that buffers your list with
BufferedList = List.Buffer(InServiceXIDs)
Then use BufferedList in place of InServiceXIDs in your later query step(s). Also, you don't need to have "=true" after List.Contains.
Pat
- Anonymous3 years ago
Try this:
(List.Contains(List.Buffer(InServiceXIDs_List),[unit_id])=true))"
--Nate
Anonymous
3 years agoNot applicable
Try this:
(List.Contains(List.Buffer(InServiceXIDs_List),[unit_id])=true))"
--Nate
Courtsheagraham
3 years agoRegular Visitor
Thank you for the information! Seems to be working, about to run it through a similar report and see what the results there are. Thanks again.