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

FDE móviles hasta el mes en curso

Hola a todos,

Estamos mostrando un gráfico de tendencias para los FDE móviles para proyectos en cartera y completados para todo el año fiscal (julio-junio).

La medida FTE de la tubería está funcionando bien. Para los FTE cerrados, necesitamos un FTE móvil hasta el mes en curso, y el resto de los meses futuros deberían mostrarse en blanco.

Switto_0-1638766199654.png

Como puede ver, la medida muestra los datos hasta el 22 de diciembre, pero los necesitamos hasta el 21 de diciembre (mes actual).

Hemos utilizado la siguiente fórmula para calcular la medida, pero no está funcionando.

mRolling_Closed_FTE = CALCULATE([mCompleted_FTE],FILTER(ALL('Calendar'),'Calendar'[Date]<= MAX('Calendar'[Date])),MONTH('Calendar'[Date])<= MONTH(TODAY()))

Solicite su ayuda para resolver el problema.

Gracias

S

1 ACCEPTED SOLUTION

@Switto ,


mRolling_Closed_FTE =
var _max= eomonth(HOY(),0)
devolución
CALCULATE([mCompleted_FTE],FILTER(ALL('Calendar'),'Calendar'[Date]<= MAX('Calendar'[Date]) && eomonth('Calendar'[Date],0)<= _max))

o


mRolling_Closed_FTE =
var _max= eomonth(HOY(),0)
devolución
if( eomonth(max('Calendar'[Date]),0)<= _max CALCULATE([mCompleted_FTE],FILTER(ALL('Calendar'),'Calendar'[Date]<= MAX('Calendar'[Date]) )), blank())

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

@Switto, Pruebe con EOMonth, no mes

mRolling_Closed_FTE = CALCULATE([mCompleted_FTE],FILTER(ALL('Calendar'),'Calendar'[Date]<= MAX('Calendar'[Date]) && eomonth('Calendar'[Date],0)<= eomonth(TODAY(),0)))

Gracias por volver con la sugerencia, sin embargo, después de probar la fórmula anterior, muestra el mismo resultado que antes.

@Switto ,


mRolling_Closed_FTE =
var _max= eomonth(HOY(),0)
devolución
CALCULATE([mCompleted_FTE],FILTER(ALL('Calendar'),'Calendar'[Date]<= MAX('Calendar'[Date]) && eomonth('Calendar'[Date],0)<= _max))

o


mRolling_Closed_FTE =
var _max= eomonth(HOY(),0)
devolución
if( eomonth(max('Calendar'[Date]),0)<= _max CALCULATE([mCompleted_FTE],FILTER(ALL('Calendar'),'Calendar'[Date]<= MAX('Calendar'[Date]) )), blank())

Hola Amit, la fórmula de Below funcionó 🙂

mRolling_Closed_FTE =
Dónde _max= eomonth(HOY(),0)
devolución
si( eomonth(Máximo('Calendario'[Fecha]),0)<= _max ,CALCULAR([mCompleted_FTE],FILTRO(TODO('Calendario'),'Calendario'[Fecha]<= MÁXIMO('Calendario'[Fecha]) )), espacio en blanco())

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.