running
2 TopicsRunning balance (difference) by groups
I'm trying to calculate running balance for quantity on hand after usage. My sample table looks like this. Any idea on what I need to do to get the expected value? Index 1 Index 2 Component Start Date On hand Qty required Running Balance (expected value) 1 1 A 1/1/2024 10 2 8 2 2 A 1/2/2024 10 2 6 3 1 B 1/1/2024 5 1 4 4 2 B 1/2/2024 5 1 3 5 1 C 1/1/2024 15 1 14 6 2 C 1/2/2024 15 1 13 7 1 D 1/1/2024 10 2 8 8 1 E 1/1/2024 5 1 4 9 2 E 1/2/2024 5 1 3 10 3 E 1/3/2024 5 1 2Solved546Views0likes2CommentsRunning count total by month (IMPOSSIBLE?)
Hello everyone! To summarize my infos: WHAT I HAVE: A database that shows when (DATE) a new machine (MACHINE) was added in my mini factoty and its level of importance (LEVEL OF IMPORTANCE) [Check out the picture in the end of this post]. WHAT I WANT: I want to check out the evolution of my machines in my mini factory detailing it by level of importance according when they were bought (DATE) [Check out the picture in the end of this post]. WHAT I'VE TRIED: I've tried this DAX Measure: Measure = CALCULATE( COUNTROWS(Table), FILTER( ALL(Table), Table[Date] <= MAX(Table[Date]) ) ) PICTURE: Thanks for helping me!1.6KViews0likes1Comment