Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have an availble stock for the current week. I want to calculate the +inbound and -outbound of the week to have current stock. This dynmacilly created current stock should be used as reference for the next week calculation [start of stock]. then again +inbound -outbound
inbound and outbound are measures which have been created in severeal measures, no columns in a table. So, index is not possible here.
How can I move the current stock week by week ? I would appreciate if you could help.
Hi,
You might create the following DAX to get the date of Previous week end date (Considering Monday as start of week and Sunday as Weekend).
Hi AnushaSri,
thank you for the reply.
I tried your suggestion but receive the following error
create Previousweekend as a variable in your start of stock2 measure and then use it in calculate
Start of Stock2 =
I have tried so many options but still no result, I can't figure it how to make it dynamically 😞
Is there anyone who can support, plesae
I still have the wrong numbers.
For the current week, everything works fine. I can take the results and bring it to next week as a starting point. But from there my "Current Stock" dosn't calculate right.