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.
¿Cómo puedo formular una expresión DAX que filtre una tabla en función de las condiciones de dos columnas diferentes y, a continuación, cuente las filas restantes en Power BI?
medida = CALCULAR (
COUNTROWS( df )
,df[column1] IN { "col1", "col2", "col2" }
&&df[columna2] <> 0
)
Pruebe lo siguiente:
measure = CALCULATE (
COUNTROWS( df )
,df[column1] IN { "col1", "col2", "col2" }
&& VALUE(df[column2]) <> 0
)
Check out the May 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.