Forum Discussion
Combine 2 Fact Tables With a Date Table?!
- 4 years ago
Hi, 7ballp25
You can try the following methods.
Table:
Date = CALENDAR(MIN('Table 1'[Date]),MAX('Table 2'[Date]))According to your description, Hist Sales and Projected Sales should both be Measure, I simulated it briefly and hope it fits your situation.
Measure:
forecasted sales measure = SUM('Table 2'[Projected Sales])historical sales measure = SUM('Table 1'[Hist Sales])Sales = [historical sales measure]+[forecasted sales measure]Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Close, VahidDM ... here's the issue with that. Table 1 table has it's own measure for total sales. Call it Historical Sales Measure.
Table 2 is a dax table, and it has it's own unique "Total Projected Sales" measure based on CAGR of the most current year sales.
I did the UNION, however, when i try to combine both historical sales measure + forecasted sales measure ...all rows in the union table you sugguest display the total 170.... reference new picture i added
Can you share a sample of you PBIX file?
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/
- 7ballp254 years agoRegular Visitor
trying to figure out how to do so... dont see an option to upload pbix file on here