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
Estoy tratando de crear tarjetas individuales para cada región de negocio y mostrar cuántos de los servidores han sido parcheados
Host | Región | Parcheado |
A11 | Américas | Sí |
A45 | Américas | No |
E55 | Emea | Sí |
E34 | Emea | Sí |
E44 | Emea | No |
E67 | Emea | Sí |
Tarjeta debe mostrar "50% de todos los anfitriones de AMÉRICAS parcheados"
Solved! Go to Solution.
Hola
Archivo de demostración adjunto.
Este es el ejemplo de columna calculada usando dax:
Resultado:
Contador =
_TOTALROWS VAR =
CALCULAR (
COUNTROWS ( RegionTable ),
FILTER ( RegionTable, RegionTable[Region] = EARLIER ( RegionTable[Region] ) )
)
_TOTALPATCHEDROWS VAR =
CALCULAR (
COUNTROWS ( RegionTable ),
FILTER ( RegionTable, RegionTable[Region] = EARLIER ( RegionTable[Region] ) ) ,
FILTER ( RegionTable, RegionTable[Patched] = "Yes" )
)
devolución
FORMATO ( DIVIDE ( _totalPatchedRows, _totalRows ), "0%" ) & " de todos " & RegionTable[Región] & " anfitriones parcheados"
saludos
Nemanja Andic
Hola
Archivo de demostración adjunto.
Este es el ejemplo de columna calculada usando dax:
Resultado:
Contador =
_TOTALROWS VAR =
CALCULAR (
COUNTROWS ( RegionTable ),
FILTER ( RegionTable, RegionTable[Region] = EARLIER ( RegionTable[Region] ) )
)
_TOTALPATCHEDROWS VAR =
CALCULAR (
COUNTROWS ( RegionTable ),
FILTER ( RegionTable, RegionTable[Region] = EARLIER ( RegionTable[Region] ) ) ,
FILTER ( RegionTable, RegionTable[Patched] = "Yes" )
)
devolución
FORMATO ( DIVIDE ( _totalPatchedRows, _totalRows ), "0%" ) & " de todos " & RegionTable[Región] & " anfitriones parcheados"
saludos
Nemanja Andic
¡Gracias Nemanja! ¡Esto es exactamente lo que estaba buscando!
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 |