Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I have a table that controls my stock, what goes in and what goes out, day by day. I need to create a graphic that shows me this variation in a waterfall chart, but I am not getting the right result. How can I do the formula to shows the accumulated variation on a period of time?
In my table I have the columns: Product, Data, Stock in, Stock Out.
Best Regards.
Solved! Go to Solution.
@VitorXavierCell , You might need a measure like
CALCULATE(SUM(Table[Stock in]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Stok Out]),filter(date,date[date] <=maxx(date,date[date])))
@VitorXavierCell , You might need a measure like
CALCULATE(SUM(Table[Stock in]),filter(date,date[date] <=maxx(date,date[date]))) - CALCULATE(SUM(Table[Stok Out]),filter(date,date[date] <=maxx(date,date[date])))
Hello @amitchandak , thank you for answer my question!
I tried to use your sugestion, but it results the same as I did before, because the measure don't accumulate the balance between it on the time line.
I attached a image that shows the month, The quantity In, quantity out and the measure "Stock Variation".
Thanks a lot
@amitchandak Actually I was using the filter with a different table, that's why I not got it, but now I change the source of the filter and it worked.
Thanks a lot for the help!
User | Count |
---|---|
54 | |
23 | |
19 | |
18 | |
17 |
User | Count |
---|---|
91 | |
87 | |
47 | |
30 | |
22 |