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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
bihumano
Helper I
Helper I

Cumulative sum not showing for some columns and showing for others columns

 

Hello everyone!

 

Screen Shot 2018-10-20 at 15.59.17.jpg

As seen above, the cumulative sum is not showing for these 2 columns...

I'm getting crazy trying to find out what's wrong...

The formula is taken from Mr Marco Russo...

Please, help me!!

Thank you

5 REPLIES 5
bihumano
Helper I
Helper I

the final solution I used:

 

Realizado Acumulado = 
IF(
    MIN( Dates[Date] )  <= CALCULATE( MAX( Empreendimento[FimSafra] ); ALLSELECTED( Empreendimento ) );
        CALCULATE (
            SUM(Realizado[Valor]);
            FILTER(ALL(Dates);
                Dates[Date]<=MAX(Dates[Date])
            )
        )
)

thank you all!

v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @bihumano,

 

Have you solved your problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please share some data sample which could reproduce your scenario and your desired output so that we could help further on it.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MFelix
Super User
Super User

Hi @bihumano,

 

Why are you using the IF statement? 

 

You should try to use only the second part of your formula without the IF.

 

Regards,

MFelix

 

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



@MFelix,

As you can see, the result is the same for the following formula

Realizado Acumulado = 
CALCULATE (
    SUM ( vwConsolidado[ValorRealizado] );
    FILTER (
        ALL (Dates );
       Dates[Date] <= MAX ( Dates[Date] )
    )
)

Screen Shot 2018-10-20 at 17.38.24.jpg

Hi @bihumano,

 

Try to use the following formula:

 

Realizado Acumulado = 
CALCULATE (
    SUM ( vwConsolidado[ValorRealizado] );
    FILTER (
        ALL (vwConsolidado[Data] );
       vwConsolidado[Data] <= MAX ( Dates[Date] )
    )
)

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors