Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello 😁
I would like some help with cracking a running total formula that I have been struggling with for a while.
I basically need to show when each part number will run out...
These are my columns;
I have added these columns into a table to visualise.
I would like another column on the end which will take the total amount of this part number (131,306.00) and take each row away from the total. Once it reaches 0, i will then create some sort of visual to highlight the actual launch date.
I have tried a few rolling total formulas but it does not want to take the total amount and subtract it, instead it seems to formulate a row at a time.
Any suggestions/ help will be appreciated
Kind regards,
Micaela 🤓
Solved! Go to Solution.
Hi @MicaelaTantum ,
"I would like another column on the end which will take the total amount of this part number (131,306.00) and take each row away from the total. Once it reaches 0, i will then create some sort of visual to highlight the actual launch date. "
Create measures like this:
Measure 3 =
CALCULATE(
SUM(Sheet4[REQD_QTY]),
FILTER(
ALLSELECTED(Sheet4),
Sheet4[Sales Order] <= MAX(Sheet4[Sales Order])
)
)
Measure 4 =
CALCULATE(
SUM(Sheet4[REQD_QTY]),
ALL(Sheet4)
)
Measure 5 = [Measure 4] - [Measure 3]
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @MicaelaTantum ,
"I would like another column on the end which will take the total amount of this part number (131,306.00) and take each row away from the total. Once it reaches 0, i will then create some sort of visual to highlight the actual launch date. "
Create measures like this:
Measure 3 =
CALCULATE(
SUM(Sheet4[REQD_QTY]),
FILTER(
ALLSELECTED(Sheet4),
Sheet4[Sales Order] <= MAX(Sheet4[Sales Order])
)
)
Measure 4 =
CALCULATE(
SUM(Sheet4[REQD_QTY]),
ALL(Sheet4)
)
Measure 5 = [Measure 4] - [Measure 3]
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Take a peak at Days of Supply: https://community.powerbi.com/t5/Quick-Measures-Gallery/Days-of-Supply/m-p/635656#M318
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
28 | |
27 | |
23 | |
22 | |
18 |
User | Count |
---|---|
52 | |
34 | |
28 | |
24 | |
21 |