Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hello Community,
In my Data Model Fact Table I have Sales Data which is always dated for the end of a Month. E.G January 31st 2023 within a Date Column.
The Facttable is related many to One to my Datetable.
I have a Sprint Table which is currenty not related to the FactTable.
In the Sprint Table are Sprint Numberts with a Start and an Enddate. A month will always consist of 2 Sprint.
E.G:
Sprint 1/24 January 1st January to January 15th
Sprint 2/24 January 16th to January 31st
The monthly sales should now be distributed to every Sprint. I need a solution to Dynamically split the Sales Values from the Fact table and assign them to a sprint and create a logical relation between these tables. It would be fine to just split them in half for every Sprint.
First approaches were not successful. I think that I may have to duplicate the Fact Table
Solved! Go to Solution.
Hi @BIlix
No need to duplicate the Fact table. But some modelling is required.
Open Power Query
In the Fact Table do the following
In the Sprint table
In the Fact table
. this is important for merging reasons.
Load the data into the report.
Open a table visual add the Sprint column from the Sales table and then the Sales value column to get the result you need
Thanks
Joe
If this post helps, then please Accept it as the solution
Thanks a lot. This approach worked perfectly!
Hi @BIlix
No need to duplicate the Fact table. But some modelling is required.
Open Power Query
In the Fact Table do the following
In the Sprint table
In the Fact table
. this is important for merging reasons.
Load the data into the report.
Open a table visual add the Sprint column from the Sales table and then the Sales value column to get the result you need
Thanks
Joe
If this post helps, then please Accept it as the solution