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
gilbertendaya
Helper IV
Helper IV

Eliminar en la tabla de matriz si la palabra Retroceso está presente

Hola equipo,

Me gustaría pedir su ayuda sobre cómo filtrar los resultados si la columna contiene la palabra "Retroceso" en la tabla de matriz.

ver a continuación

gilbertendaya_0-1599711875771.png

@amitchandak @ImkeF @Tahreem24

IntentName es la columna y CountAllIntent es una medida.
Gracias.

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hola @gilbertendaya ,

Según mi comprensión , desea eliminar las filas cuando los valores de Nombre de intención contiene "Retroceso",derecho?

Puede utilizar la función CONTAINSSTRING() de la siguiente manera:

countAll=
IF (
    CONTAINSSTRING ( SELECTEDVALUE ( Table1[IntentName] ), "Fallback" ),
    BLANK (),
    SUM ( Table1[Value] )
)

Mi visualización tiene este aspecto:

9.11.2.1.png

¿He respondido a tu pregunta? Por favor, marque mi respuesta como solución. Muchas gracias.

Si no es así, cargue algunas muestras de datos insensibles y la salida esperada.

Saludos

Eyelyn Qin

View solution in original post

4 REPLIES 4
v-eqin-msft
Community Support
Community Support

Hola @gilbertendaya ,

Según mi comprensión , desea eliminar las filas cuando los valores de Nombre de intención contiene "Retroceso",derecho?

Puede utilizar la función CONTAINSSTRING() de la siguiente manera:

countAll=
IF (
    CONTAINSSTRING ( SELECTEDVALUE ( Table1[IntentName] ), "Fallback" ),
    BLANK (),
    SUM ( Table1[Value] )
)

Mi visualización tiene este aspecto:

9.11.2.1.png

¿He respondido a tu pregunta? Por favor, marque mi respuesta como solución. Muchas gracias.

Si no es así, cargue algunas muestras de datos insensibles y la salida esperada.

Saludos

Eyelyn Qin

Tahreem24
Super User
Super User

@gilbertendaya ,

También puede intentar utilizar CONTAINS dax:

Columna: IF(SEARCH("Fallback",Table[IntentName],1,0)>0,CountAllIntent,0)
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
amitchandak
Super User
Super User

@gilbertendaya , Pruebe una medida como

Medidas ?
countx(countrows(Table), filter(Table,search("Fallback",Table[IntentName],,0)>0))

o agregue filtro a sus medidas existentes

Greg_Deckler
Super User
Super User

@gilbertendaya Así que tal vez:

Measure = 
  VAR __Calc = [CountAllIntent]
RETURN
  IF(SEARCH("Fallback",MAX([IntentName),,0)>0,BLANK(),__Calc)

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.