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
Seanhu7
Frequent Visitor

Retorno del filtro

Hola, tengo un dashbaord con un número de filtros - y las tarjetas luego reaccionan obviamente como se utilizan estos filtros, sin embargo, cuando los filtros no se utilizan me gustaría que el azulejo devuelva null o en blanco en lugar de devolver el primer elemento en la lista he utilizado CALCULATE ( IF ( ISFILTERED ( Tabla[Columna] ), 1, 0 ), ALLSELECTED ( Tabla ) Pero esto obviamente trae de vuelta 1 para todos los elementos filtrados - ¿Cómo puedo volver al valor real filtrado? Gracias de antemano
2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hola @Seanhu7

Valoro la respuesta de amitchandak, pero un pequeño cambio para evitar duplicar el mismo elemento de segmentación.

Capture3.JPG

measure1 = IF ( ISFILTERED ( 'Table'[category] ), CONCATENATEX(VALUES('Table'[category]),[category]),BLANK())

Saludos
Maggie
Equipo de apoyo a la comunidad _ Maggie Li
Si este post ayuda, entonces considera Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

amitchandak
Super User
Super User

@Seanhu7, no muy claro. Algo así

IF ( ISFILTERED ( Table[Column] ), concatenatex(Table,Table[Column]), blank() )

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.