Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Estoy tratando de crear una medida para lo siguiente:
Toma el total de días de Ventas / Operaciones = Promedio de Ventas diarias
Mi medida actual para los días de Ops es la siguiente:
Por país y por mes los días calculados son correctos.
Sin embargo, cuando se trata del rollup final. se convierte en SG+MY+TH+PH+VN+ID.
Estoy tratando de obtener (Promedio (SG + MY + TH + PH + VN + ID) cuando los filtros no están activos.
Hola
Intente escribir una medida como la siguiente y reemplace la actual por la siguiente.
fixed measure: =
IF (
HASONEVALUE ( 'Country table'[Country column] ),
[Your Ops Days measure],
AVERAGEX ( VALUES ( 'Country table'[Country column] ), [Your Ops Days measure] )
)
Terminé usando la sintaxis posterior ya que necesitaba los filtros para calcular cuándo otros filtros también estaban activos.
Utilicé esta sintaxis y funciona 🙂 gracias!!
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.