Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Tengo un dato que se publica a continuación,
https://filetransfer.io/data-package/fCCEVOyo#link
Las lógicas de colores deben ser
IF [Tendencia verde]="Positivo" Y [ValueVsTarget]>=0 THEN "Verde"
ELSEIF [Tendencia verde]="Positivo" Y [ValueVsTarget]<0 THEN "Rojo"
ELSEIF [Tendencia verde]="Negativo" Y [ValueVsTarget]<=0 THEN "Verde"
ELSEIF [Tendencia verde]="Negativo" Y [ValueVsTarget]>0 THEN "Rojo"
ELSEIF [Tendencia verde]="Blanco" LUEGO "Blanco"
ELSEIF [Tendencia verde]="Gris" ENTONCES "Gris"
FIN
Probé imágenes de tarjeta, KPI E.T.C para obtener la siguiente salida, pero desafortunadamente no sucedió.
Quiero lograr,
Por favor, ayúdame a lograr este tipo de Visual en PBI con los datos proporcionados
Gracias de antemano.
Déjame probar y aceptaré la solución una vez que obtenga el resultado requerido
Hola @mehupbi ,
¿Te ayudó este método? Si hay alguna otra pregunta relacionada con esta publicación, puede responder a continuación.
Saludos
Alberto He
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente
Hola @mehupbi ,
Según la descripción, Power BI realmente no puede generar este efecto a partir de un objeto visual. Pero puede hacerlo usando un color personalizado para el objeto visual de la tarjeta. Este es el breve procedimiento
Aquí están mis datos de prueba:
Crear una columna
Color =
VAR _ValueVsTarget = [Sum of Value] - [Target]
RETURN
SWITCH(
TRUE(),
[Trend_green] = "Positive" && _ValueVsTarget >= 0 , "Green",
[Trend_green] = "Positive" && _ValueVsTarget < 0 , "Red",
[Trend_green] = "Negative" && _ValueVsTarget >= 10 , "Blue",
[Trend_green] = "Negative" && _ValueVsTarget > 0 , "Red",
[Trend_green] = "Negative" && _ValueVsTarget <= 0 , "Green",
[Trend_green] = "White" , "White",
[Trend_green] = "Grey" , "Grey"
)
Crear medidas para rellenar la tarjeta
Service Level =
CALCULATE(
SUM('Table'[Sum of Value])/SUM('Table'[Target]),
FILTER(
'Table',
'Table'[Metric] = "Service Level"
)
)Cost =
CALCULATE(
SUM('Table'[Sum of Value]),
FILTER(
'Table',
'Table'[Metric] = "Cost"
)
)
Cree una medida para obtener el color correspondiente
Color_Cost =
CALCULATE(
MAX('Table'[Color]),
FILTER(
'Table',
'Table'[Metric] = "Cost"
)
)Color_Service Level =
CALCULATE(
MAX('Table'[Color]),
FILTER(
'Table',
'Table'[Metric] = "Service Level"
)
)
Ir a General->Efectos->Fondo
Crea tantas tarjetas como necesites
Resultado final
Saludos
Alberto He
Si esta publicación ayuda, considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente
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.