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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

filter in Measure by matching two columns from different table's

Dear All ,

 

I have created a measure but l stucked to filter in a measure 

eg:Condition as 1.In INDEX table if mapping=PTP/OTC Timelines comes   then has to pick all the values in description and have to match with Task of data table.

2.then this filteres need to keep in measure level.

 

 

Capture1.JPG

 

 

 

 

 

Thanks in Advance.

 

Best Wishes,

Younis

1 ACCEPTED SOLUTION
mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

that should be the case with the relationship.

It would be better if the relationship was a "many to one (*: 1)" relationship that only filters in one (single) direction.

But it should work that way.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


View solution in original post

9 REPLIES 9
Anonymous
Not applicable

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

could you post a screenshot of your model view?

 

Regards,

Marcus

Dortmund - Germany
If I answered your question, please mark my post as solution, this will also help others.
Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Hi @mwegener 

please find the Attached Data Table and index table Data model

task should be equal to description based on mapping column on Measure

Capture1.JPGCapture2.JPG

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

did you create a relation between Tast and Description?

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Hi @mwegener ,

 

yeah i have created a relation shipCapture1.JPG

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

what happens to the measure if you filter by the column "Mapping"?

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Hi @mwegener 

As I am New to Power BI, I am Unaware of logic. Bascically if Index[mapping]="PTP/OTC Timelines" then it has to pick all values from index[Description] then this values should be filtered on measure

mwegener
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous ,

 

that should be the case with the relationship.

It would be better if the relationship was a "many to one (*: 1)" relationship that only filters in one (single) direction.

But it should work that way.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials


Anonymous
Not applicable

Thank you @mwegener  
Now It Works After Activation relationship.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors