QuestionQ108
VerifiedCost & Performance OptimisationThe business intelligence team has configured a dashboard to monitor several summary metrics for retail stores. This includes total sales from the prior day, along with totals and averages for various time periods. The fields needed to populate this dashboard have the following schema:

For demand forecasting, the Lakehouse has a validated table containing all itemized sales, updated incrementally in near real time. This table, named products_per_order, contains the following fields:

Because reporting on long-term sales trends is less volatile, analysts using the new dashboard need the data refreshed only once per day. Because many users will query the dashboard interactively throughout a normal business day, it must return results quickly and reduce the total compute used for each materialization.
Which solution meets end-user expectations while controlling and limiting potential costs?
Community Discussion