Forum Discussion
How to handle two fact tables with different date range
Hi
I have two separate PBI models, one for Sales and one for SalesBudget. Both has financial year September to August.
In my Sales PBI model :
I created the Fiscal Calendar using Calendarauto (8). So, the date range in Fiscal Calendar table referenced by sales data, from 2020-09-01 to 2024-08-31.
In my SalesBudget PBI model :
I also created the Fiscal Calendar using Calendarauto (8). So, the date range in Fiscal Calendar table referenced by budget data, from 2024-09-01 to 2028-08-31.
Now I tried to integrate the SalesBudget data to the Sales PBI model (only SalesBudget data, not fiscal calendar table)
- Now I have two fact tables (Sales & SalesBudget) in Sales PBI model.
- Both fact tables have connected to the Fiscal calendar table.
- But I couldn´t get any value from SalesBudget.
I guess the problem lies on the different date range for the two fact tables.
- Since the Fiscal calendar data referenced by the Sales data, is that possible that the Fiscal calendar data also referenced by the SalesBudget data?
- If so, what/how can I do?
- If not, are there any other solutions on this issue?
Thanks for all tips and advice.
Regards Aixia
5 Replies
- Aixia
Helper II
Hi
Here comes more information about this interesting case:
FactSales:
Invoiced amount has been accrued to the correct financial year (202109-202408)
BudgetSales: Total BudgetSales with different currency has been accrued to the correct financial year (202409-202808).
Problems:
- There is relationship between the two fact tables: FactSales & BudgetSales. But it didn´t work. I tried to change the relationship to both directions, it didn´t work neither.
- No Fiscal Year appears to the Budget visualizing.
I guess problem came from the different date range for the two fact tables?!
Please see attached files.
Need help:
- How to build the correct relationship between the two fact tables?
- The goal for this case is to show the Sales and BudgetSales volume on the same line chart.
Is that possible to using DAX or other solutions to achieve the goal?
Thanks for any tips and advices.
Regards
Aixia