Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
If new records are being added every second to the source table which is connected in a Direct Query mode, how can I have them included in the Agg table?
It seems to me that the Agg table will only calculate the records that were imported in the last refresh.
Hence, the usage in the Agg table will show me inaccurate figures compared to the same calculation done from the original fact table.
The model scenario:
A fact table with 100M rows connected in a Direct Query mode (containing dates from 2020-to date)
4 dimensions in a Dual mode
An Aggregated table with 4 dimensions + a SUM calculation in an Import mode
The visual:
Showing the SUM calculation (a measure) by Years.
As expected, PBI is taking the values from the imported Agg table.
What am I missing?
Thank you,
Tamir
Solved! Go to Solution.
You're not really missing anything. The query will only use aggregation tables if it knows the data is in there. If not then it will use the details table.
In your scenario you might want to consider Incremental refresh with live "Today" partition.
Thank you @lbendlin , In my understanding, the Agg table will be used only if the calculation refers to the same dimensions as in the Agg table.
PBI does not know if all the data is included (from a record point of view) in the table.
However, the use of Incremental Import might be a great idea 🙂 Thank you
Tamir
You're not really missing anything. The query will only use aggregation tables if it knows the data is in there. If not then it will use the details table.
In your scenario you might want to consider Incremental refresh with live "Today" partition.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
96 | |
94 | |
80 | |
71 | |
64 |
User | Count |
---|---|
115 | |
106 | |
96 | |
81 | |
72 |