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.
Hola
Tengo el siguiente conjunto de datos:
Estado | Reglas de transacción | Número total de quejas |
Activo | Regla Alfa | 107 |
Activo | Regla Bravo | 0 |
Activo | Regla Bravo | 0 |
Activo | Regla Charlie | 6 |
Activo | Regla Charlie | 0 |
Activo | Regla Delta | 13 |
Activo | Regla Delta | 64 |
Activo | Regla Delta | 12 |
Activo | Regla Eco | 0 |
Inactivo | Regla Foxtrot | 3 |
Inactivo | Regla Foxtrot | 0 |
Estoy tratando de crear una Medida que puedo lanzar en una Tarjeta que mostrará lo siguiente:
Tengo la esperanza de ver lo que se le ocurrió a la gente. Tengo lo siguiente, pero no parece funcionar:
Hola @rlee2838
Medidas
count_ac&0 =
VAR s =
SUMMARIZE (
FILTER ( 'Table', 'Table'[Status] = "Active" ),
'Table'[Transaction Rules],
"sum", SUM ( 'Table'[Total # of Complaints] )
)
RETURN
COUNTROWS ( FILTER ( s, [sum] = 0 ) )
count&in>0 =
VAR s =
SUMMARIZE (
FILTER ( 'Table', 'Table'[Status] = "Active" ),
'Table'[Transaction Rules],
"sum", SUM ( 'Table'[Total # of Complaints] )
)
RETURN
COUNTROWS ( FILTER ( s, [sum] > 0 ) )
Saludos
Maggie
Equipo de apoyo a la comunidad _ Maggie Li
Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
@rlee2838 , Pruebe algo como
if(SUM('Table1'[Tot_Complaints]) á 0,DISTINCT('Table1'[Reglas de transacción]),SUM('Table1'[Tot_Complaints] ))
O
if(isblank(SUM('Table1'[Tot_Complaints])) SUM('Table1'[Tot_Complaints]) á 0,DISTINCT('Table1'[Reglas de transacción]),SUM('Table1'[Tot_Complaints] ))
Hola @amitchandak ,
¿dónde pongo un filtro para el estado?
Alternativamente, intenté algo como esto, pero no tuve suerte:
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 | |
2 | |
2 | |
2 | |
1 |