To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello everyone,
I am working on a stock management and I want to evaluate final stock.
So I have collumns named "final stock", "entry", "outings".
I want to evaluate "final stock" which is previous "final stock" + same "entry" - same "outings".
Is it possible to make it in one collumn "final stock"?
Solved! Go to Solution.
You could create a measure like
Final stock =
VAR CurrentDate =
MAX ( 'Date'[Date] )
VAR Result =
CALCULATE (
SUM ( 'Table'[Entry] ) - SUM ( 'Table'[Outings] ),
'Date'[Date] <= CurrentDate
)
RETURN
Result
You could create a measure like
Final stock =
VAR CurrentDate =
MAX ( 'Date'[Date] )
VAR Result =
CALCULATE (
SUM ( 'Table'[Entry] ) - SUM ( 'Table'[Outings] ),
'Date'[Date] <= CurrentDate
)
RETURN
Result
User | Count |
---|---|
77 | |
69 | |
65 | |
50 | |
27 |