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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
lennox25
Post Patron
Post Patron

Help on Finding Matches In One Column Only

My table is currently set up as below. 

I need to match only the codes  (if they match - there maybe a Code for Product A but not for B and Vice Versa) in which case it would leave a blank on the row for the Product which isnt in this example but it will be the case)

lennox25_1-1715787051547.png

 

I would like the final result like this(ignore the colouring)

lennox25_0-1715786793027.png

 

2 REPLIES 2
amitchandak
Super User
Super User

@lennox25 , Pivot Product column in Power Query, and then you can have column

if  [A] <> null && [B] <> null then "True" else false

 

Pivot Data(Power Query) :https://www.youtube.com/watch?v=oKByyI09Bno&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=12

 

or create measures like

 

A=  calculate(sum(Table[No Sold]), Filter(Table, Table[Product] = "A") )

 

B=  calculate(sum(Table[No Sold]), Filter(Table, Table[Product] = "B") )

 

Result = if(isblank([A]) || isblank([B]) , False(), true() )

 

Use them in visual with other group bys

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

HI @amitchandak  I know how to Pivot and have Pivoted but the column is not working its syntax error?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.