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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
schoden
Post Partisan
Post Partisan

SQL NULL

Hola a todos

Quiero filtrar el nombre por %mas% O NULL

Mi Dax es :

Columna: IF( CONTAINSTRINGS(name),"mas" á nombre en blanco(), 1, 0)

Pero no se está filtrando correctamente, ¿alguna idea?

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hola @schoden

Tratar

Column = IF( CONTAINSTRINGS([name],"mas") || ISBLANK([name]), 1, 0)

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

View solution in original post

9 REPLIES 9
az38
Community Champion
Community Champion

Hola @schoden

Tratar

Column = IF( CONTAINSTRINGS([name],"mas") || ISBLANK([name]), 1, 0)

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

@az38 Hola Gracias por la respuesta.....

El código me acercó más al número real, la diferencia es menos al menos 😄

az38
Community Champion
Community Champion

@schoden

a veces sucede que el espacio en blanco no está exactamente en blanco, así que trate de comparar con la cadena vacía:

Column = IF( CONTAINSTRINGS([name],"mas") || ISBLANK([name]) || [name]=""), 1, 0)


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

@az38

Funciona igual, el mismo ouput.

Gracias, sin embargo

az38
Community Champion
Community Champion

@schoden

puede mostrar un ejemplo de fila con un resultado incorrecto?


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

@az38 Hola la tabla verde es la tabla real, la segunda tabla es de mi power BI , power BI no muestra / elegir la fila en blanco como se ve en la tabla verde que es $528..

table.jpgtable 2.JPG

az38
Community Champion
Community Champion

@schoden

¿Ha establecido "Mostrar elementos sin datos" como activo para la columna izquierda en visual?


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

@az38 ¿Cómo puedo configurar eso? , mostrar elemento sin datos en power BI

az38
Community Champion
Community Champion

@schoden

https://docs.microsoft.com/en-us/power-bi/desktop-show-items-no-data

tal vez te ayude


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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.

Top Kudoed Authors