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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Holland1998
Frequent Visitor

Filter multiple rows based on single row value

Hi all,

 

I have data in Column A and column B. Wanted to try and recreate column C.

 

1.PNG

 

I could think to do a CONCATENATEX and ALLEXCEPT and then a IFISNUMBERSEARCH but wondered if there was an easier way?

 

Thanks,

 

Tom and @Anonymous 

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous 

 

Thanks for this. On behalf of @Holland1998, I can say this has worked well for what we needed. 

 

Anonymous
Not applicable

[Opp Has Bananas?] = // calculated column
var Opp_ = T[Opportunity ID]
var Result =
    NOT ISEMPTY(
        FILTER(
            T,
            T[Opportunity ID] = Opp_
            &&
            T[Product Sold] = "bananas"
        )
    )
return
    if( Result, "Yes", "No" )
Anonymous
Not applicable

@Holland1998 

 

Are you looking for a measure or a calculated column?

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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