The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi,
I'm trying to make a model that can predict if I can deliver a certain plant from stock. Lets say that the plant takes up 2 quantity of "Item 1". Then I want to make a revesed loop from the largest date which is the 30/07/2020 and stop when it is no longer possible to deliver the item which will be on the 30/05/2020. It means that my possible delivery date is the 15/06/2020 because from that date I can deliver all the dates in the future from the known data.
How do I make a measure that can poste this date for me?
Quantity Accumulated
Transaction quantity
Stock 40
15/05/2020 -13 27
30/05/2020 -26 1
15/06/2020 10 11
30/06/2020 -3 8
15/07/2020 -4 4
20/07/2020 10 14
30/07/2020 -5 9
Hi,
Yeah it didn't solve it. The task I had seems to be difficult to solve with dax.
It was solve using SQL instead.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |