I've recently enter the big data BI world and have a very specific question.
This is my model:
I have a fact table with last 4 years (2020-2023) of data (2 billion rows) and an aggregated table with the last 2 years (2022-2023) of data (20M rows). So, the aggregated table as less years of data than the facts table.
When I use the date slicer and pick a date prior to 2022, I get a blank visual because the measure always hits the AGG (which does not have data for this time period) and not the facts table as expected. Have you guys faced a common issue? Is there a workaround?
The dax measure:
measure =
CALCULATE(
COUNT(cci_gpmt_ecommerce_global[article]),
cci_gpmt_ecommerce_global[is_unique] = 1
)
Thank you in advance.
The aggregated table by default doesn't contain data for dates prior to 2022 that's why you have blank visuals for earlier dates.