Forum Discussion
Reference an entire Direct Query table to a new table in Query Editor
So I have a table which uses Direct Query (for good reasons) but the measures which refer to this table are very slow.
I had this idea to simply reference the data in Query Editor - like a snapshot of each column in the direct query table, then prevent the Direct Query table from loading, and pointing the measures to the snapshot table.
Can I reference whole columns in a new table in Query Editor?
2 Replies
- amitchandakSuper User
JemmaD , I doubt you can convert a measure to a power query column, unless very simple.
You check aggregated tables, that can help to improve performance
https://docs.microsoft.com/en-us/power-bi/desktop-aggregations
- JemmaDHelper V
Hi amitchandak I mean that I create a snapshot table of the direct query table - so just a copy of the data that is within it, then use my measures to point to the new table instead of the direct query table, to speed up the measures. So, I need to create a blank query table in Query Editor, and just tell it to reference the columns in my other table.