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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
schoden
Post Partisan
Post Partisan

SQL no le gusta algo

Hola , Por favor, ayúdame

Quiero escribir en DAX , el código SQL equivalente está a continuación;

SELECT * de la tabla donde table[column]<>'%After%'

4 REPLIES 4
v-lili6-msft
Community Support
Community Support

hola @schoden

Utilice esta lógica para crear una nueva tabla

New Table = FILTER('Table', SEARCH("After", 'Table'[Column],,0)=0)

https://docs.microsoft.com/en-us/dax/search-function-dax

saludos

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
az38
Community Champion
Community Champion

Hola @schoden

para exampkle nueva mesa

Table = FILTER(ALL(Table), ISBLANK(SEARCH("After", Table[Column])))

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

@az38 Hola Gracias por la respuesta

Pero no devolvió el resultado correcto.

En su lugar, utilicé :

FILTER(ALL(TABLE), Table[Column] <>"After% " ) --- funcionó para NO COMO ALGO

Pero cuando escribí al revés, no mostraba valores

FILTER(ALL(TABLE), Table[Column] ?"After% " ) --- no funcionó para LIKE SOMETHING

az38
Community Champion
Community Champion

@schoden

Te di otra opción.

Table = FILTER(ALL('Table'), ISBLANK(SEARCH("After", 'Table'[Column],,BLANK()))))

esta función SEARCH devolverá en blanco si no hay coincidencia


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors