Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!