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

Don'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.

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
v-tangjie-msft
Community Support
Community Support

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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