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
Quiero resolver el porcentaje de sí para cada país
por ejemplo, si suecia tiene 20 registros que consisten en Sí, TBC, No, quiero averiguar el porcentaje de sí de esos 20 registros y lo mismo para cada otro país.
puede por favor aconsejar
Yo agradecería cualquier consejo
Solved! Go to Solution.
Hola, @maz
Según su descripción, creo que puede crear una medida.
Así:
Measure =
VAR a =
COUNTX (
FILTER (
ALL ( 'Table' ),
[value] = "yes"
&& [country] = SELECTEDVALUE ( 'Table'[country] )
),
[value]
)
VAR b =
COUNTX (
FILTER ( ALL ( 'Table' ), [country] = SELECTEDVALUE ( 'Table'[country] ) ),
[value]
)
RETURN
DIVIDE ( a, b )
Si no resuelve su problema, por favor no dude en preguntarme.
Saludos
Janey Guo
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
Hola, @maz
Según su descripción, creo que puede crear una medida.
Así:
Measure =
VAR a =
COUNTX (
FILTER (
ALL ( 'Table' ),
[value] = "yes"
&& [country] = SELECTEDVALUE ( 'Table'[country] )
),
[value]
)
VAR b =
COUNTX (
FILTER ( ALL ( 'Table' ), [country] = SELECTEDVALUE ( 'Table'[country] ) ),
[value]
)
RETURN
DIVIDE ( a, b )
Si no resuelve su problema, por favor no dude en preguntarme.
Saludos
Janey Guo
Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.
@maz
Crear una medida
YesCount - Calculate(count(termination issued),filter(all(tablename),terimination issued "Yes"))
A continuación, cree otra medida, divida (sícount,Count(terminationd),0) y agréguela al objeto visual para mostrar Yes % por separado! ¡Avísame si alguna ayuda adicional se requiere!
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |