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

Filtrar matriz de valores negativos

Hola a todos

¿Cómo puedo permitir que los usuarios muestren valores negativos en una matriz. Quiero que el usuario pueda filtrar ATP como negativo/positivo.

Tengo una matriz como abajo -

Material ? Stocks ? ATP (Medida)

3 REPLIES 3
v-lionel-msft
Community Support
Community Support

Hola @Sdhn420 ,

¿Le importaría compartir su archivo .pbix?

O muéstrenos datos de muestra.

Saludos
Lionel Chen

Si este post ayuda,entonces considere Aceptarlo como la solución para ayudar a los otros miembros a encontrarlo más rápidamente.

amitchandak
Super User
Super User

@Sdhn420 ,

crear una tabla independiente con valores negativos y positivos y tratar como

medida :
if(selectedvalue(sign[sign]) á"positive" , sumx(filter(summarize(Table,Table[Material] ,Table[Stock],"_1" [ATP]),[_1]>-0),[_1])
, sumx(filter(summarize(Table,Table[Material] ,Table[Stock],"_1" [ATP]),[_1]<0),[_1]))

@amitchandak el problema es que la medida ATP se crea a partir de dos tablas diferentes. (Stock y Orden).

La matriz se forma a partir de 3 valores de tabla.

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.