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

Filtrar ceros de la matriz de Power BI

Hola

En mi .pbix tengo una matriz como esta,

en esta matriz, 1. tengo que filtrar/ocultar "0"s (los de color amarillo) en la columna "disponible"

2. y luego tengo que reemplazar "0"s (color azul) en las columnas usadas, actuales con BLANK.

y mi matriz final debería ser visible así,

¿Alguna ayuda en esto?

Gracias de antemano.

6 REPLIES 6
v-kelly-msft
Community Support
Community Support

Hola @yodha ,

Primero vaya al editor de consultas, filtre en la columna "disponible", eligiendo No es igual a 0;

A continuación, cree 2 medidas como se indica a continuación:

_current = IF(MAX('Table'[current])=0,BLANK(),MAX('Table'[current]))
_used = IF(MAX('Table'[used ])=0,BLANK(),MAX('Table'[used ]))

Finalmente verá:

Annotation 2020-04-29 141312.png

Para el archivo .pbix relacionado, haga clic aquí.

Saludos
Kelly
¿Respondí a tu pregunta? ¡Marca mi puesto como solución!

@v-kelly-msft Muchas gracias

parry2k
Super User
Super User

@yodha estás usando la medida en la matriz? ¿Cuál es la expresión de medida que puedes shre?



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.

@parry2k : no estoy usando ninguna medida, ya que no sé cómo usarlo, lo siento soy nuevo en power bi. Gracias

@yodha Supongo que está utilizando la matriz visual y lo que ha eliminado en la sección de valor de la matriz visual?



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.

@parry2k: he soltado los campos 'disponible', 'usado' y 'actual' en la sección "valores" de la matriz... estos campos contienen valores/números, los que vienen en columnas Matrix.

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.