Forum Discussion
Paul_Cracknell
May 15, 2022Copper Contributor
Power Query Lookup Table Strategy - Advice Needed
Hi, all. I have a large flat file and I am seeking advice on how to best create lookup tables. Currently, I am cleaning up the flat file and using “Duplicate” to create my lookup tables. This is slowing my model down. Each time I use “Duplicate” to create another lookup table, it takes longer for the model to process the data. This flat file I am working with has 6 different lookup tables. By the time I get to my sixth lookup table, the model is really slow.
Is there a better, more efficient way to create lookup tables? I have thought about creating separate queries for the lookup tables and then connecting to the separate files.
Any advice would be greatly appreciated.
Thanks,
Paul
- flexyourdataIron Contributor
Can you add an example file?
Some considerations:
- How many rows in the flat file?
- How many transformations between Source and Duplicate?
- What are the cardinalities of the lookup tables?
- Are you building this model in Excel for us with Power Pivot - or is this Power Query question actually for use in Power BI (or something else)?