Hi Guys, and thank you for the support!
I have my Daily forecast revenue in the high granularity (Product Category) in one table and another with my Product details:
Forecast table:
Date; Category Forecast; Value
01/12/2021 ; Category 1 ; $10,000
01/12/2021; Category 2 ; $12,000
01/12/2021; Category 3 ; $12,500
02/12/2021 ; Category 1 ; $10,000
02/12/2021; Category 2 ; $12,000
02/12/2021; Category 3 ; $12,500
03/12/2021 ; Category 1 ; $9,000
03/12/2021; Category 2 ; $10,000
03/12/2021; Category 3 ; $11,500
Dim Products:
Product Name ; Category
Product 1, Category 1;
Product 2, Category 1;
Product 3, Category 1;
Product 4, Category 2;
Product 5, Category 2;
Product 6, Category 2;
Product 7, Category 3
Product 8, Category 3
Product 9, Category 3;
I want to join these two tables (Result):
Forecast table
Date ; Category; Product name; Forecast Reveneu:
01/12/2021 ; Category 1; Product 1 ; $10,000
01/12/2021 ; Category 1; Product 2 ; $10,000
01/12/2021 ; Category 1; Product 3 ; $10,000
01/12/2021; Category 2; Product 4 ; $12,000
01/12/2021; Category 2; Product 5 ; $12,000
01/12/2021; Category 2; Product 6 ; $12,000
01/12/2021; Category 3 ; Product 7; $12,500
01/12/2021; Category 3; Product 8 ; $12,500
01/12/2021; Category 3; Product 9 ; $12,500
02/12/2021 ; Category 1; Product 1 ; $10,000
02/12/2021 ; Category 1; Product 2 ; $10,000
02/12/2021 ; Category 1; Product 3 ; $10,000
02/12/2021; Category 2; Product 4 ; $12,000
02/12/2021; Category 2; Product 5 ; $12,000
02/12/2021; Category 2; Product 6 ; $12,000
02/12/2021; Category 3 ; Product 7; $12,500
02/12/2021; Category 3; Product 8 ; $12,500
02/12/2021; Category 3; Product 9 ; $12,500
03/12/2021 ; Category 1; Product 1 ; $9,000
03/12/2021 ; Category 1; Product 2 ; $9,000
03/12/2021 ; Category 1; Product 3 ; $9,000
03/12/2021; Category 2; Product 4 ; $10,000
03/12/2021; Category 2; Product 5 ; $10,000
03/12/2021; Category 2; Product 6 ; $10,000
03/12/2021; Category 3 ; Product 7; $11,500
03/12/2021; Category 3; Product 8 ; $11500
03/12/2021; Category 3; Product 9 ; $11,500
The Products table is a normal table, but the Forecast table is a calculated table and very dynamic (based on multiple factors ).
Thank you
Warm Regards
Jose Milhazes