Working with storage modes
In the previous section, we discussed connection modes for the queries from a Power Query perspective. In this section, we look at different storage modes that apply to tables after the data is loaded into a data model or connected to a data source. Every table in a Power BI data model has a storage mode property that shows if the data is cached or not. There are three types of storage modes, as outlined next:
- Import: This means the data is cached into the memory. Therefore, all queries over a table with the storage mode of Import get the results from the cashed data.
- DirectQuery: The data is not cached; therefore, all queries are fired back to the source system to get the results.
- Dual: The tables in this mode can get data either from the cache or directly from the source system. So, depending on the query, data can be retrieved either from the cached data or directly from the data source. For instance, in an aggregation setup, the query...