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
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
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.