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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
teste11234
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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