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
Syndicate_Admin
Administrator
Administrator

cortadora de datos con condición OR

He agregado 3 segmentaciones de datos en Power BI. Está funcionando como condición AND, pero quiero la condición O, ¿cómo soluciono esto?

Tres cortadoras

1. Equipo

2. Negocios

3. Función

Luego he agregado algunas imágenes, si selecciono Slicer O basado en condiciones, quiero mostrar los valores en el visual ¿cómo lograr esto?

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

Estoy usando esta medida

Filter = 
Var _fir = IF(ISFILTERED(Table[Team]), 1, 0)
Var _sec = IF(ISFILTERED(Table[Functional]), 1, 0)
Var _Third = IF(ISFILTERED(Table[Business]), 1, 0)
var _Fourth = IF(_fir = 1 || _sec = 1 || _Third=1 , 1,0)
return
_Fourth

filtro de nivel visual Establezca el filtro para incluir valores donde la medida sea igual a 1

por encima de medir su funcionamiento

View solution in original post

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Estoy usando esta medida

Filter = 
Var _fir = IF(ISFILTERED(Table[Team]), 1, 0)
Var _sec = IF(ISFILTERED(Table[Functional]), 1, 0)
Var _Third = IF(ISFILTERED(Table[Business]), 1, 0)
var _Fourth = IF(_fir = 1 || _sec = 1 || _Third=1 , 1,0)
return
_Fourth

filtro de nivel visual Establezca el filtro para incluir valores donde la medida sea igual a 1

por encima de medir su funcionamiento

Syndicate_Admin
Administrator
Administrator

SQLBI hizo un artículo y un video sobre esto - https://www.sqlbi.com/articles/using-or-conditions-between-slicers-in-dax/

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.