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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
amustafa70
New Member

How to apply filters from one report to another

Hello Everyone, I'm new to PowerBI and looking for your help. I have set of seller_names who sold specific products (pct). What I need is to create a list of seller_name as competitors who sold same products minus the original seller_name. I don't know how to set custom filters. Please see the attached .pbix file. 

 

pbix file download link: https://drive.google.com/file/d/1wCDMhmK6mSkgDnemzQLscNsFQFIsjHaL/view?usp=sharing

2 REPLIES 2
mahoneypat
Microsoft Employee
Microsoft Employee

To do that, you need to make a disconnected table with your seller names and use that new seller name column in your slicer.  There is no relationship between this new table and your existing table.  You can then make a table visual with the seller name column from your query1/original table and add this measure.  Only those sellers that sold the same as the selected seller (and products) should show.

 

Sellers = DISTINCT(Query1[seller_name])

 

mahoneypat_0-1613227794948.png

 

Sold Same Product =
VAR vProducts =
    CALCULATETABLE (
        VALUES ( Query1[pct] ),
        Query1[seller_name]
            IN VALUES ( Sellers[seller_name] )
    )
RETURN
    CALCULATE (
        DISTINCTCOUNT ( Query1[seller_name] ),
        vProducts
    )

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Thank you Pat, can I add a where clause to Sellers = DISTINCT(Query1[seller_name]) and the join is pct. So, competitors are same seller names with same pct codes minus the selected seller name

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.