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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors