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

Cómo hacer que el total de ejecución se detenga hace 45 días, ya que no hay datos después de este punto

Hola, tengo una medida rápida de carrera total que está calculando un total de carrera, sin embargo, no hay datos después de hace 45 días, pero el total de ejecución sigue calculando una línea plana hasta hoy.

¿Cómo detengo el total de ejecución hace 45 días en lugar de correr hasta hoy, por favor?

SORRate ejecutando el total en la fecha 2 =
CALCULAR(
SUM('vwP6ReportAll'[SORRate]),
FILTRO(
TODOS SELECCIONADOS('Fecha'[Fecha]),
ISONORAFTER('Fecha'[Fecha], MAX('Fecha'[Fecha]), DESC)
)
)
Gracias
Gordon
2 ACCEPTED SOLUTIONS

Probar:
= IF(SELECTEDVALUE('Date'[Date])<=TODAY()-45,
CALCULAR(
SUM('vwP6ReportLatest'[Tasa de asignación post RWO]),
FILTRO(
TODOS SELECCIONADOS('Fecha'[Fecha]),
ISONORAFTER('Fecha'[Fecha], MAX('Fecha'[Fecha]), DESC)
)
)
)

View solution in original post

Syndicate_Admin
Administrator
Administrator

@G0ggs Eh
Puedes usar este

SORRate ejecutando el total en la fecha 2 =
if(SUM('vwP6ReportAll'[SORRate])<>0,CALCULATE(
SUM('vwP6ReportAll'[SORRate]),
FILTRO(
TODOS SELECCIONADOS('Fecha'[Fecha]),
ISONORAFTER('Fecha'[Fecha], MAX('Fecha'[Fecha]), DESC)
)
),0
)

Aquí estoy haciendo si la venta es distinta de 0, entonces solo calcule de lo contrario muestre 0 como salida.


View solution in original post

7 REPLIES 7
Syndicate_Admin
Administrator
Administrator

@G0ggs Eh
Puedes usar este

SORRate ejecutando el total en la fecha 2 =
if(SUM('vwP6ReportAll'[SORRate])<>0,CALCULATE(
SUM('vwP6ReportAll'[SORRate]),
FILTRO(
TODOS SELECCIONADOS('Fecha'[Fecha]),
ISONORAFTER('Fecha'[Fecha], MAX('Fecha'[Fecha]), DESC)
)
),0
)

Aquí estoy haciendo si la venta es distinta de 0, entonces solo calcule de lo contrario muestre 0 como salida.


Syndicate_Admin
Administrator
Administrator

Simplemente puede envolver su instrucción CALCULATE dentro de una instrucción IF que verifique si max('Date'[Date] es <= [stop date]

¿Estoy luchando con cómo escribir esa fórmula? La fecha de parada siempre está cambiando, ya que son solo 45 días en el pasado.

Tasa de asignación posterior a RWO ejecutando el total en Fecha =
SI
'Fecha' = Fecha - 45
En blanco(),
CALCULAR(
SUM('vwP6ReportLatest'[Tasa de asignación post RWO]),
FILTRO(
TODOS SELECCIONADOS('Fecha'[Fecha]),
ISONORAFTER('Fecha'[Fecha], MAX('Fecha'[Fecha]), DESC)
)
)
¿Algo así?

Probar:
= IF(SELECTEDVALUE('Date'[Date])<=TODAY()-45,
CALCULAR(
SUM('vwP6ReportLatest'[Tasa de asignación post RWO]),
FILTRO(
TODOS SELECCIONADOS('Fecha'[Fecha]),
ISONORAFTER('Fecha'[Fecha], MAX('Fecha'[Fecha]), DESC)
)
)
)

Impresionante muchas gracias que funcionó!

Bien

Syndicate_Admin
Administrator
Administrator

Hola @G0ggs ,

cree un archivo pbix que contenga datos de ejemplo pero que refleje el modelo de datos (tablas, relaciones, columnas, columnas calculadas y medidas). Sube el archivo a onedrive o dropbox y comparte el enlace. Si está utilizando Excel para crear los datos de ejemplo en lugar del método de entrada manual, comparta también el xlsx.

Saludos

Gato

Lo sentimos, es información confidencial, así que no se puede cargar

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.