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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

How to find matches in two columns with DAX?

I have a situation, where i have a column "A. ALL ROWS" with multiple ISSUE ID:s (An ISSUE ID can exist multiple times). Then I have a column "B. PRODUCT ISSUE ID" where the ISSUE ID is mentioned only few times (once or more).

The column "B. PRODUCT ISSUE ID" is the Primary Column which counts.

I need to mark all the rows with "true" or "false" in Column C, if the B column's ISSUE ID is found in A column.

How would I do it?

 
 

columns.JPG

 

1 ACCEPTED SOLUTION
Fowmy
Super User
Super User

@Anonymous 

Add the following column to your table:

C.Match Found = 

IF( 
    Table[A. ALL ROWS] in ALL(Table[B. PRODUCT ISSUE ID]),
    TRUE(),
    FALSE()
)

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

2 REPLIES 2
Fowmy
Super User
Super User

@Anonymous 

Add the following column to your table:

C.Match Found = 

IF( 
    Table[A. ALL ROWS] in ALL(Table[B. PRODUCT ISSUE ID]),
    TRUE(),
    FALSE()
)

________________________

If my answer was helpful, please click Accept it as the solution to help other members find it useful

Click on the Thumbs-Up icon if you like this reply 🙂


Website YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

Thank you! That was quick 🙂

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors