Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
ELW
Advocate II
Advocate II

Resaltar gráfico de dispersión basado en la selección de la cortadora

Necesito resaltar un registro en un gráfico de dispersión basado en la selección de una segmentación de datos. Como ejemplo simplificado, en lugar de filtrar o no afectar a la gráfica de dispersión aquí, cuando Se selecciona Tucson me gustaría mostrar el icono de Tucson en un color diferente.

Phoenix.pngTucson.png

Creo que esto se puede lograr a través de una medida que muestra 1 si la ciudad es seleccionada y 0 si no, pero he estado tratando durante horas y no puedo conseguir nada para trabajar. La ayuda es muy apreciada. He visto el ejemplo de Diabetes con gráficos de barras y no puedo conseguir que funcione, pero no soy un profesional en DAX.

5 REPLIES 5
parry2k
Super User
Super User

@ELW puede lograr fácilmente con lo siguiente:

- añadir una tabla para la segmentación de datos, no debe tener una relación con su tabla de datos

- añadir la siguiente medida

Red Selected Color = 
IF ( SELECTEDVALUE ( Slicer[Column] ) = SELECTEDVALUE ( Table[Column] ), "Red" )

en el formato condicional, elija el valor de campo y la medida anterior y debe ser bueno ir.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@ELW aquí hay algo que hice en mis datos de muestra

image.png



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Muchas gracias, @parry2k! Soy capaz de agregar la medida (y está funcionando impresionante en otro lugar) pero no puedo averiguar cómo hacerlo trabajar con formato condicional.

Si voy a Colores de datos / fx / Valor de campo puedo seleccionar la medida Color seleccionado rojo, pero no tiene ninguna opción asociada con cambiar el color en función del valor del campo.

Data Colors 2.PNG

He jugado con él un poco, y nada parece conseguir que el formato funcione!

@ELW la medida que escribió Color seleccionado rojo tendrá la lógica de cuándo tener el color rojo y cuando no, en esta captura de pantalla solo seleccionará la medida.

Me gustaría elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!

Visítenos enhttps://perytus.com, su ventanilla única para proyectos/formación/consulta relacionados con Power BI.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

¡Gracias! Definitivamente estaba tratando de complicarlo demasiado. ¡Eso funciona, y es exactamente lo que necesito!

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors
Top Kudoed Authors