Forum Discussion
Create new records from keyword list
- 3 years ago
You can link to a cloud file using e.g. Dropbox/Google Drive/SharePoint/OneDrive. Make sure the file doesn't contain any sensitive data before you make it public.
There's no need to create an index to iterate over. You can replace
each List.Transform(
List.Transform(
{
List.Transform(
{0 .. List.Count(Keywords) - 1},
(x) => Number.From(List.Contains(Text.Split([Title cleaned], " "), Keywords{x}))
)
},
each List.PositionOf(_, 1, 2)
){0},
each Keywords{_}
)
with
each List.Intersect({Keywords, Text.Split([Title cleaned], " ")})
That you very much for your insights and suggestions. This produces the results that I am looking for but it is causing the model to explode in size. This is a test model and only has 2,400 records. The model is under 1 megabyte but when I run the query it says it's loading for hours and hours and grows very large. I let the query run overnight, it finished. I tried loading to the model this morning and it has been running for about 3.5 hours and is currently almost 80 gigabytes.
Any ideas why this is happening and how to fix it?