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