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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Olmos29
Frequent Visitor

Filtrar un dato que esta en dos columnas

Hola, Comunidad de Power Bi

 

Tengo una tabla con los datos que se muestran en la imagen adjunta. Cree una segmentación de datos donde coloque el campo 'descripcion_g'. Al seleccionar por ejemplo 'Bogota', me muestra solo la información correspondiente de 'Bogota' a 'Bucaramanga', pero a mi me gustaria ver también la información de 'Belencito' a 'Bogota'. Es decir, al filtrar por Bogota me gustaria ver la información correspondiente a ese dato en ambas direcciones. 

 

Espero ser claro con mi explicacion. Agradezco de antemano por su colaboración.

 

filtri.jpg

filtri.jpg

2 REPLIES 2
v-chenwuz-msft
Community Support
Community Support

Hi @Olmos29 ,

 

Did your question get solved and if so, please mark it so more people can find the answer faster.

 

Best Regards

Community Support Team _ chenwu zhu

amitchandak
Super User
Super User

@Olmos29 , create an independent table with distinct values of description_g and description_g1 and then use that in slicer

 

countrows(filter(Table, Table[description_g] in values(description[description])  || Table[description_g1] in values(description[description]) ))

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.