Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hello,
I have a data model that is
DirectQuery:
FactSales -> Sales Order transactions
Import:
FactSalesAgg -> Referencing FactSales, Group By on our DimAllTime_Key and SUM of LINEAMOUNT
*This import aggregated table then has 'Managed Aggregations' applied in order to act as the aggregate table for FactSales*
Dual
DimAllTime -> Calendar table (disconnected) that includes our fiscal calendar information
DimAllTime_InvoiceDate -> Calendar table joined to FactSales and FactSalesAgg on DimAllTime_Key = DimAllTime_Key (1:* relationship)
In our report we have users select a date from the DimAllTime calendar. We then use DAX measures to get the date selected + the related date last year (based on our fiscal dimensions)
Example for TY
| DimAllTime_Key | CALENDARDATE | FiscalYear | DayInYear |
| 368 | 12/30/2019 | 2020 | 1 |
| 369 | 12/31/2019 | 2020 | 2 |
| 370 | 1/1/2020 | 2020 | 3 |
| 1 | 12/31/2018 | 2019 | 1 |
| 2 | 1/1/2019 | 2020 | 2 |
| 3 | 1/2/2019 | 2020 | 3 |
FactSales is similar to:
| DimAllTime_Key | DimX_Key | DimY_Key | DimZ_Key | LineAmount |
| 1 | 23124 | 231234 | 12354 | 100 |
| 3 | 2391 | 124 | 12354 | 200 |
| 3 | 65843 | 3943 | 12354 | 300 |
| 3 | 23124 | 231234 | 12354 | 50 |
| 3 | 2391 | 124 | 12354 | 350 |
| 370 | 65843 | 3943 | 12354 | 25 |
| 370 | 23124 | 231234 | 12354 | 100 |
| 3 | 2391 | 124 | 12354 | 200 |
| 2 | 65843 | 3943 | 12354 | 300 |
| 368 | 23124 | 231234 | 12354 | 50 |
| 239 | 2391 | 124 | 12354 | 350 |
| 40 | 65843 | 3943 | 12354 | 25 |
FactSalesAgg is similar to
| DimAllTime_Key | LineAmount |
| 1 | 100 |
| 2 | 300 |
| 3 | 1100 |
| 368 | 50 |
| 239 | 350 |
| 370 | 125 |
| 40 | 25 |
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!