Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I did rolling data by week, for qty_shipped, here is the fomular,
Solved! Go to Solution.
The condition stopping this data at week 33 is the following:
Shipped[Week_Shipped]<= MAX(Shipped[Week_Shipped])),
So you either need to just remove that conditition or maybe use the same max date as your ToCome , Backlog or Plan measures.
thank you. I tried to remove the condition, it expand to last week, but the total amount calculated a wrong number.
Oh yes, I see what that is doing. I don't normally use date columns directly in the fact table for filtering. I usually create a separate date table and then hide the date columns in the fact table. The date table should then have all the dates in the range you want to report on (so maybe all the days in 2019).
Then you could build your calculations using the following pattern
then I tried another one,
in the screenshot below,
list 2, calculation rolling is correct but can not expand more weeks.
list1, expand but rolling data is not right.