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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Cumulative Sum depending on two columns

Hello all,

 

I'm new in the community, so i dont really know how to use the forum 😞 hope i'm not causing any trouble with the topic.

 

Thing is, i have the following table in Power BI

mjesusmar_0-1593376867396.png


What i'm looking for is to Sum, depending on the date and the column "Gerente FAAS". The field containing the values to sum is "Venta Meta Semanal"
so, i need to create a new column that should give me the same result as this one in excel

mjesusmar_1-1593377136758.png

 

Ther formula is:

mjesusmar_2-1593377163992.png

Hope someone can help me!
Thanks in advance

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Solved! Gonna leave the answer, hope it can help somebody

mjesusmar_1-1593379316499.png

Venta Estimada = CALCULATE(SUM(Progreso[Venta Meta Semanal]);FILTER(Progreso;Progreso[Gerente FAAS]=EARLIER(Progreso[Gerente FAAS]));Progreso[Semana]<=EARLIER(Progreso[Semana]))
 
Thanks!

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Solved! Gonna leave the answer, hope it can help somebody

mjesusmar_1-1593379316499.png

Venta Estimada = CALCULATE(SUM(Progreso[Venta Meta Semanal]);FILTER(Progreso;Progreso[Gerente FAAS]=EARLIER(Progreso[Gerente FAAS]));Progreso[Semana]<=EARLIER(Progreso[Semana]))
 
Thanks!

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.