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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
StrikerZero
Frequent Visitor

Unir muchas columnas de filtro en un filtro principal

Tengo varias columnas que estoy usando para indicar si un elemento pertenece a una determinada tarea, y un elemento puede ser parte de varias tareas. Me gustaría crear un único filtro basado en qué tarea se seleccionó, es decir, si se selecciona la tarea 1, se filtraría para mostrar solo lo que era "Verdadero" en la columna de la tarea 1. Y así para cada tarea en el filtro.
¿Es posible? ¿Alguien puede ayudarme?

Capturar 2.PNGFiltroCapturar.PNGMesa

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hola @StrikerZero ,

  1. En los editores de consultas, seleccione columna Defecto y use 'Unpivot other columns', obtendrá las dos columnas 'Atributo' y 'Valor', cerrarla y aplicarla.
  2. Cree una medida de control y establezca su valor como 1, colóquelo en el filtro de tabla:

Control = 
    IF(
        SELECTEDVALUE('Table'[Value]) = TRUE(),1,0
    )

  • Puede crear una segmentación de datos para obtener el resultado esperado:filter result.png

Aquí está mi demostración de muestra espera ayudarle, por favor pruébelo: PBIX

Mejores looks,
Yingjie Li

Si este post ayuda, por favor considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

parry2k
Super User
Super User

@StrikerZero debe anular el pivote de los datos y luego será muy fácil, vaya al editor de consultas, seleccione la columna de defectos, haga clic con el botón derecho, desbloquee otras columnas, tendrá dos columnas, atributo y valor, aplique los cambios.

ahora puede filtrar la tarea y dónde la tarea es verdadera.



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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors