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.
Soy nuevo en Power Bi, por favor ayúdame a escribir este código en Power Bi:
COUNT(IF [Fecha de cierre]>=([Fecha de ejecución]-30)y[Fecha de cierre]<=[Fecha de ejecución]
ENTONCES [ID de solicitud]
FIN )/30
Por favor, proporcione algunos datos de muestra y resultados esperados
Hola @रियाजैन12345
Para su pregunta, aquí está el método que proporcioné:
Aquí hay algunos datos ficticios
"Mesa"
Cree una medida.
Measure =
CALCULATE(
COUNT('Table'[Request ID]),
FILTER(
ALL('Table'),
'Table'[Closed Date] >= 'Table'[Run Date] - 30
&&
'Table'[Closed Date] <= 'Table'[Run Date]
)
) / 30
Aquí está el resultado. Puede ajustar el número de decimales según sea necesario.
Saludos
Nono Chen
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |