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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
psembaj
Frequent Visitor

Accumulated column according to several criteria

Hello! I am trying to create a calculated sales column. Currently create a measure called "Acumulado." Where it accumulates sales according to a calendar period that is selected.

ScreenShot019.png

Acumulado = CALCULATE(Ventas[Ventas Actual];
FILTER(ALLSELECTED(Calendario);
Calendario[Date]<=MAX(Calendario[Date]))
)

This formula performs the calculation correctly according to the period of time, but when I add the different clients, the accumulated one is done by client and time, I need that it does not take into account the clients. Can you help me?
 
3 REPLIES 3
Nathaniel_C
Community Champion
Community Champion

Hi @psembaj , if I understand what you trying to do. 
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel

Acumulado = CALCULATE(Ventas[Ventas Actual];
FILTER(ALLEXCEPT(Ventas;Ventas[Cliente]);
Calendario[Date]<=MAX(Calendario[Date]))




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

Proud to be a Super User!




Thanks for answering.
It is not possible as you indicate, because in this way it is not filtering through the calendar. I need you to filter by calendar and by customer. It is understood?

Hi! Help me please!! LOL

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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