Forum Discussion
Running Total based on a Seperate Value
- 5 years ago
Hi, LanceTDL
Please check the below picture and the sample pbix file's link down below.
Running Qty On Hand Measure =
VAR transactioncumulatereverse =
CALCULATE (
SUM ( Transactions[Transactional Qty] ),
FILTER ( ALL ( Dates ), Dates[Date] >= MAX ( Dates[Date] ) )
)
RETURN
IF (
ISFILTERED ( Dates[Date] ),
IF (
NOT ISBLANK ( SUM ( Transactions[Transactional Qty] ) ),
transactioncumulatereverse
+ SUMX ( Transactions, RELATED ( Items[Qty on Hand] ) )
)
)https://www.dropbox.com/s/cne3sh5r1mz30ip/lance.pbix?dl=0
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, LanceTDL
Sorry that I quite do not understand your question.
Please let me know how your desired outcome looks like.
Thanks.
Sorry Jihwan_Kim I tried to insert a table but I kept getting errors.
My disered output would be like this:
etc...
It has the daily value for any given date.
- Jihwan_Kim5 years agoSuper User
Hi, LanceTDL
I am not 100% sure if I understood your explanation correctly, but please check the link down below.
https://www.dropbox.com/s/cne3sh5r1mz30ip/lance.pbix?dl=0