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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
yugofukuda
Helper IV
Helper IV

Con respecto a la suma acumulada

Hola


Me gustaría usar el número máximo de la suma acumulada en cada día de cada mes, pero no puedo entender cómo lidiar con ella usando Dax. Por ejemplo, en el caso de agosto, me gustaría poner 994 cada día y en el caso de julio, el número es 2.300 en cada día.

Ya me encañoné de alguna manera, pero no funcionó.

¡Me agradecería que me ayudaras! ¡Gracias!

sample.png

1 ACCEPTED SOLUTION
MattAllington
Community Champion
Community Champion

Suponiendo que el total nunca va hacia atrás (sin días negativos), sólo puede utilizar el máximo e ignorar el día. Algo así, dependiendo de los nombres de tus tablas.

•calculate(sum(table[value]),all(calendar[day]))

esta fórmula ignora el filtro procedente del "día", pero respeta el filtro procedente de aaaa-mm



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

View solution in original post

3 REPLIES 3
pranit828
Community Champion
Community Champion

Hola @yugofukuda

Yo usaría

max_each_month = 
CALCULATE(SUMX(TABLE[Count], ALLEXCEPT(table,YEAR(Table[date]),MONTH(Table[date])))

¿Resolví tu problema? ¡Marca mi puesto como una solución!

Apreciamos sus Felicitaciones, Pulse el botón pulgares hacia arriba !!

saludos
Pranit





PBI_SuperUser_Rank@1x.png


Hope it resolves your issue? 
Did I answer your question? Mark my post as a solution!

Appreciate your Kudos, Press the thumbs up button!!
Linkedin Profile
MattAllington
Community Champion
Community Champion

Suponiendo que el total nunca va hacia atrás (sin días negativos), sólo puede utilizar el máximo e ignorar el día. Algo así, dependiendo de los nombres de tus tablas.

•calculate(sum(table[value]),all(calendar[day]))

esta fórmula ignora el filtro procedente del "día", pero respeta el filtro procedente de aaaa-mm



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
I will not give you bad advice, even if you unknowingly ask for it.

HI Matt,

Thank you very much!! it worked well!!!!!!!!!!!!!!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors