Forum Discussion
Running Sum Max Date
Hi good day can anyone help me on my visual calcualtion. I used running sum and i need result up to the Max date only on my other table. The 3/18 onward should be blank.
Thank you
Hi AllanBerces
Add Max Date to the visual and reference that in the running sum formula. Hide Max Date
4 Replies
- grazitti_sapnaSuper User
Hi AllanBerces ,
If you use visual calculation then it'll calculate untill the last row, if you want to achieve the sum only until where the last record exists for daily earned then you need to create a separate DAX measure.
To achive this first
Capture Max Date Measure:-
Max Earned Date =
CALCULATE(
MAX('Table'[Date]),
FILTER(
ALL('Table'),
NOT(ISBLANK('Table'[DailyEarned]))
)
)Then use it in below DAX
Max Earned Date =
CALCULATE(
MAX('Table'[Date]),
FILTER(
ALL('Table'),
NOT(ISBLANK('Table'[DailyEarned]))
)
)๐ I hope this solution helps you unlock your Power BI potential! If you found it helpful, click 'Mark as Solution' to guide others toward the answers they need.
๐ก Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.
๐ As a proud SuperUser and Microsoft Partner, weโre here to empower your data journey and the Power BI Community at large.
๐ Curious to explore more? [Discover here].
Letโs keep building smarter solutions together! - danextianSuper User
Hi AllanBerces
Add Max Date to the visual and reference that in the running sum formula. Hide Max Date
- AllanBercesPost Prodigy
Hi danextian grazitti_sapna Ashish_Mathur thnak you very much for the reply work as i need
- Ashish_MathurSuper User
Hi,
Does this work
=if([Forecast]>0,blank(),[your formula])