Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. 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!!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.