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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.