Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
How do I create a measure using DAX to calculate the running total from the second column?
Solved! Go to Solution.
Hello @brockry1 ,
Could you try below dax code. But before creating dax code there is a need that a new column includes period such as 01,02 etc. I called PeriodIndex in dax code.
Running Total =
CALCULATE(
SUM('Visits'[Visit Target Per Period]),
FILTER(
ALL('Visits'),
'Visits'[PeriodIndex] <= MAX('Visits'[PeriodIndex])
)
)
Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
Hello @brockry1 ,
Could you try below dax code. But before creating dax code there is a need that a new column includes period such as 01,02 etc. I called PeriodIndex in dax code.
Running Total =
CALCULATE(
SUM('Visits'[Visit Target Per Period]),
FILTER(
ALL('Visits'),
'Visits'[PeriodIndex] <= MAX('Visits'[PeriodIndex])
)
)
Kind Regards,
Gökberk Uzuntaş
📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!
🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 24 | |
| 17 | |
| 10 | |
| 7 | |
| 6 |