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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Omitir información sobre herramientas para totales y subtotales

¡Hola a todos!

Intentar crear información sobre herramientas de texto simple para el objeto visual de matriz de Power BI. Solo explicaciones para cada fila. Algo como esto (simplificado):

tooltip_text = SWITCH(my_table[field_1],"some value",IF(my_table[field_2]="dummy value","First tooltip message","Second tooltip message"),"another value","Third tooltip message","")

Funciona bien para filas regulares, pero para subtotales y totales (por ejemplo, por field_1), da algunos mensajes irrelevantes, y realmente no los necesitamos.

¿Cómo podemos hacer que la información sobre herramientas para las filas totales y subtotales esté vacía (o, mejor aún, omitirlas por completo)? ¿Es posible en Power BI?

Muchas gracias de antemano!

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@arsershov , Puede verificar isinscope o isfiltered o hasonevalue para verificar que es la fila total del sol y dejarla en blanco

Necesitas crear una medida

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

@arsershov , Puede verificar isinscope o isfiltered o hasonevalue para verificar que es la fila total del sol y dejarla en blanco

Necesitas crear una medida

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

¡Oh, tonto yo! Medir era la palabra clave, y traté de hacerlo creando una columna regular.

¡Muchas, muchas gracias!

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.