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
Anonymous
Not applicable

Gráfico de área acumulativa basado en el nombre del mes

Hola a todos,

Quiero crear un gráfico de área acumulativo basado en el nombre del mes en lugar del número de mes. Actualmente esta es mi medida de trabajo, pero ¿cómo puedo hacer que funcione usando el nombre del mes en su lugar? No se verá bien si uso el número de mes como eje x de mi gráfico de área.

Acumulativo: CALCULATE(SUM(Table1[Value]), FILTER(ALL(Table1[Month Num]), Table1[Month Num] <-MAX(Table1[Month Num])))
cumulative.PNG
¡Espero que alguien pueda ayudar!
Gracias
Bk
1 ACCEPTED SOLUTION
parry2k
Super User
Super User

@beekee también puede agregar la columna de nombre de mes en la función ALL

Cumulative = 
CALCULATE(
SUM(Table1[Value]), 
FILTER(
ALL(
Table1[Month Num], 
Table[Month Name]
), 
Table1[Month Num] <= MAX(Table1[Month Num])
)
)

Apreciaría Kudos 🙂 si mi solución me ayudara. Pregunte cualquier cosa Power BI. Reserva una cita para una consulta gratuita en https://www.perytus.com



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hola

Pruebe este enfoque

  1. Cree una tabla de calendario y escriba fórmulas de columna calculadas para extraer año, nombre del mes y número de mes: Año - Año (Calendario [Fecha]), Nombre del mes (Calendario [Fecha],"mmmm") y Número de mes á MES (Calendario [Fecha]). Ordenar el nombre del mes por el número de mes
  2. Cree una relación desde la columna Fecha de la tabla de datos a la columna Fecha de la tabla de calendario
  3. A tu objeto visual, arrastra el Año y el Mes de la Mesa de Calednar
  4. Escribir estas medidas

Valores: SUM(Table1[Value])

Acumulativo: CALCULATE([Values],DATESYTD(Calendar[Date]))

Espero que esto ayude.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
parry2k
Super User
Super User

@beekee también puede agregar la columna de nombre de mes en la función ALL

Cumulative = 
CALCULATE(
SUM(Table1[Value]), 
FILTER(
ALL(
Table1[Month Num], 
Table[Month Name]
), 
Table1[Month Num] <= MAX(Table1[Month Num])
)
)

Apreciaría Kudos 🙂 si mi solución me ayudara. Pregunte cualquier cosa Power BI. Reserva una cita para una consulta gratuita en https://www.perytus.com



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.