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

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.

Reply
ICRdatalover1
Frequent Visitor

Mantenga algunas filas en mi tabla incluso si se aplica algún filtro

Hola a todos!!

Me preguntaba si puedo mantener algunas filas en una tabla incluso si filtro esta tabla. Aquí está un ejemplo:

Tengo una tabla visual con 2 columnas:

Países y otros Beneficio

España 100

India 200

China 400

Francia 90

Otros 150

Tengo un filtro con todos los países que aparecen en la tabla, pero no para "Otros", lo que me gustaría hacer es ser capaz de filtrar la tabla para cualquier país en el filtro, pero seguir mostrando siempre la fila "Otros". Agregar el país "Otros" en el filtro no es una opción, ya que no es un país real sólo quiero filtrar alguna parte de la tabla, pero mantener siempre esa fila "Otros" como estática.

Parece algo fácil, pero no puedo averiguar cómo resolverlo.

¡Gracias de antemano!

Atentamente.

Icr.

6 REPLIES 6
v-jayw-msft
Community Support
Community Support

Hola @ICRdatalover1 ,

Puede crear una tabla calculada como segmentación de datos.

Table 2 = FILTER(ALLSELECTED('Table'[Countries & others]),'Table'[Countries & others]<>"Other")

A continuación, cree una medida como se muestra a continuación y agréguela al filtro visual.

Measure = IF(SELECTEDVALUE('Table'[Countries & others])="Other"||SELECTEDVALUE('Table'[Countries & others]) in VALUES('Table 2'[Countries & others]),1,0)

El resultado se mostraría como se muestra a continuación.

1.PNG

2.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Hola @v-jayw-msft ,

Estoy intentando replicar el ejemplo siguiendo todos los pasos, pero no obtendmos los mismos resultados que usted. No está muy seguro de qué parte im haciendo mal, ¿Podría por favor compartir el .pbix para comparar?

Gracias de antemano.

Icr.

Hola @ICRdatalover1 ,

Pbix como adjunto, espero que funcione para usted.

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

Ahora me doy cuenta de lo que estaba haciendo mal. ¡Trabaja prefecto ahora! Muchas gracias @v-jayw-msft

Hola @v-jayw-msft,

¡Eso podría funcionar! Lo intentaré hoy.

Muchas gracias, y gracias @parry2k también por su ayuda.

Atentamente

Icr.

parry2k
Super User
Super User

@MatjoColusted tiene que tener una tabla desconectada para la cortadora para lograr esto, similar a esteExponer

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.