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

Ajuda com filtrar uma tabela com conteúdo de outra

Pessoal estou tendo dificuldades com filtragem de alguns dados.

 

Eu tenho a tabela "Dados" com a coluna "Responsavel" que contem vários nomes, porém uma linha pode conter vários nomes.

E também tenho a tabela "Pessoas" com a coluna "Nome" que contem apenas um nome por linha.

 

Gostaria de filtrar a Coluna "Responsavel" da tabela "Dados" com a coluna "Nome" da tabela pessoas para  quando eu escolher um nome aparece todas vezes que contém ele exemplo:

 

Coluna responsavel tem as linhas:

Jonathas, André

Jonathas, Dener, André

Jonathas

André, Dener

André

Dener, Jonathas

 

E digamos que quero filtrar por Jonathas, quero que mostre:

 

Jonathas, André

Jonathas, Dener, André

Jonathas

 

Dener, Jonathas

 

Que são onde esse nome aparece, como eu posso fazer?

 

Obrigado pela atenção

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

@Marlon,

 

Create a measure using DAX below, than drag the measure and Responsible column to a same chart.

Filtered Result = IF(FIND(SELECTEDVALUE(People[Name]), MAX(Data[Responsible]), , BLANK()) <> BLANK(), "Yes", BLANK())

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Marlon,

 

Create a measure using DAX below, than drag the measure and Responsible column to a same chart.

Filtered Result = IF(FIND(SELECTEDVALUE(People[Name]), MAX(Data[Responsible]), , BLANK()) <> BLANK(), "Yes", BLANK())

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.