Forum Discussion
Cumulative sum / deduction descending
- 1 year ago
Hi,
I am not sure if I understood your question correctly, but I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
expected result measure: = CALCULATE ( COUNTROWS ( VALUES ( data[ticket_id] ) ), FILTER ( ALL ( 'calendar' ), 'calendar'[Date] >= MAX ( 'calendar'[Date] ) ) )
Hi some_analyst,
Make sure that your date (PKDate) is a continuos date field.
Use below dax to achieve it
Open Tickets =
VAR SelectedDate = MAX('dim_date'[PKDate])
RETURN
CALCULATE(
COUNT(Tickets[TicketID]),
Tickets[Due Date] >= SelectedDate
)
Add pkdate to x-Axis, add Open tickets measure as a line chart on Y-Axis.
This will show a descending cumulative count of open tickets over time.
🌟 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!
thanks for that grazitti_sapna , I can't seem to get this to work:
I have this measure below, but it gives me not the cummulative but progressive counts: