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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors