Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
teste11234
Helper I
Helper I

Acummulated tickets along time - Show acummulated after today - Cumulative Totals

Hi guys,

 

I need your help... I'm trying to show the accumulated open tickets along the months, but on visuals they extend until december.
I would like to see until the current month, I have try almost everything, but not worked, even the ChatGPT could give me a good answer. You are my last hope.
I use this measure:

CALCULATE (
    CALCULATE (
        COUNTROWS ( f_Suporte ),
        FILTER (
            ALL ( f_Suporte[##Related Status_Cliente] ),
            f_Suporte[##Related Status_Cliente] = "Ativo"
        ),
        FILTER (
            ALL ( f_Suporte[##StatusTicket] ),
            f_Suporte[##StatusTicket] = "ABERTO"
        )
    ),
    FILTER (
        ALL ( Date_Table_TR[Date] ),
        Date_Table_TR[Date] <= MAX ( Date_Table_TR[Date] )
    )
)
teste11234_0-1708366841651.png
teste11234_1-1708366935075.png

 

 

 

1 ACCEPTED SOLUTION
teste11234
Helper I
Helper I

I got right now... always this way... post here and the insight comes. Amazing.
Here is the right measure:

CALCULATE (
    CALCULATE (
        COUNTROWS ( f_Suporte ),
        FILTER (
            ALL ( f_Suporte[##Related Status_Cliente] ),
            f_Suporte[##Related Status_Cliente] = "Ativo"
        ),
        FILTER (
            ALL ( f_Suporte[##StatusTicket] ),
            f_Suporte[##StatusTicket] = "ABERTO"
        )
    ),
    FILTER (
        ALL ( Date_Table_TR[Date] ),
        Date_Table_TR[Date] <= MAX ( Date_Table_TR[Date] )&&
        Date_Table_TR[Date]< MAX(f_Suporte[end_date])
    )
)

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @teste11234 ,

 

Glad to hear that your issue has been resolved. If the problem has been solved you can mark the reply for the standard answer to help the other members find it more quickly. 

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

teste11234
Helper I
Helper I

I got right now... always this way... post here and the insight comes. Amazing.
Here is the right measure:

CALCULATE (
    CALCULATE (
        COUNTROWS ( f_Suporte ),
        FILTER (
            ALL ( f_Suporte[##Related Status_Cliente] ),
            f_Suporte[##Related Status_Cliente] = "Ativo"
        ),
        FILTER (
            ALL ( f_Suporte[##StatusTicket] ),
            f_Suporte[##StatusTicket] = "ABERTO"
        )
    ),
    FILTER (
        ALL ( Date_Table_TR[Date] ),
        Date_Table_TR[Date] <= MAX ( Date_Table_TR[Date] )&&
        Date_Table_TR[Date]< MAX(f_Suporte[end_date])
    )
)

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.