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

Un acumulado trimestral me muestra los meses siguientes

He utilizado la formula DAX para que me acumule las ventas de los ultimos tres meses pero me completa las cifras de los 2 meses siguientes y no las quiero ver. He probado con Filter pero no consigo que me elimine los meses siguientes (el 6 y 7)

 

La formula que utilizo es

_MEDIA MOVIL TRIMESTRE = CALCULATE('_TB MEDIDAS'[_TOTAL VENTA Año actual],
DATESINPERIOD('MI CALENDARIO'[Fecha],
LASTDATE('MI CALENDARIO'[Fecha]),-3,MONTH))
 
y me muestra
 
Captura.GIF
 
 
 

 

 

 

2 REPLIES 2
v-diye-msft
Community Support
Community Support

Hola

puede considerar la creación de un archivo pbix que contendrá algunos datos de ejemplo (eliminar la información confidencial), cargar el pbix en onedrive para la empresa y compartir el vínculo al archivo. Por favor, no olvide describir los resultados esperados basados en estos datos de ejemplo.

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
amitchandak
Super User
Super User

@enri1970 , Intente agregar un filtro como

_MEDIA MOBILE TRIMESTRE - CALCULATE('_TB MEASURES'[_TOTAL SALE Current Year],
DATESINPERIOD('MY CALENDAR'[Date],
LASTDATE('MY CALENDAR'[Date]),-3,MONTH) , 'MY CALENDAR'[Date] <=eomonth(today(),-2)+1)

Eomonth (Hoy (),-2)

-2 puede ser -3 o -1 depende de la necesidad

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.