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
joade2co
Frequent Visitor

Uso de La medida como filtro de nivel visual

Entiendo que no podemos usar el valor de medida como filtro de nivel visual.

Sin embargo, me gustaría filtrar la visualización en función del valor de la medida.

¿Sabría cómo implementar la función a continuación?

cat_1cat_2Valor
AA2
AA1
AB3
BB4
BC5

[función]

•establecer "cat_1" y "cat_2" como rebanadoras

•haciendo alguna visualización de la medida del "valor"

Si un número de filas con la configuración de la segmentación de datos es inferior a 2, se oculta una visualización.

por ejemplo)

Cuando elegimos"A"en cat_1 y "todo"en cat_2, una visualización no está oculta. (un número de filas es 3.)

Cuando elegimos"A"en cat_1 y"A"en cat_2, una visualización no está oculta. (un número de filas es 2.)

Cuando elegimos"A"en cat_1 y "B"en cat_2, se oculta una visualización. (un número de filas es 1.)

En mi primera idea, desaciero el recuento de medidas números de filas y lo desaciero como filtro de nivel visual.

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

Hola @joade2co ,

Cree una medida y agréguela al filtro visual como se muestra a continuación.

Measure = COUNTROWS(ALLSELECTED('Table'))

2.PNG3.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.

View solution in original post

2 REPLIES 2
v-jayw-msft
Community Support
Community Support

Hola @joade2co ,

Cree una medida y agréguela al filtro visual como se muestra a continuación.

Measure = COUNTROWS(ALLSELECTED('Table'))

2.PNG3.PNG

Saludos

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
amitchandak
Super User
Super User

@joade2co , No podrá ocultar visual. Crear una medida y devolver null.

Ejemplo

Switch( true(),

Max([cat_1]) á "All"&& isfiltered([cat_2]) ?False() , blank(),

[Medida]

)

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.