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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
attilajozsef712
Regular Visitor

Multi-selection filter applied on multiple fields

Hi!

I have a datatable where I have transaction information. I want to set filters on club names (so selecting club A and club B) and show all related rows in the table whether the clubs are seller or buyer in the transaction (so if a club sold a player that is a distinct line in the table and if the same club bought a player that is an other distinct line). I also want to have a possibility to select multiple regions or countries and using them as a filter on my table.

The dataset is not so complex, I have a seller company and a buyer company, both have region and country information and the fe of the transaction and the target of the transaction. 

1 ACCEPTED SOLUTION

Hi  @attilajozsef712 ,

 

Create  a new table as below:

Table 2 =
DISTINCT (
    UNION (
        SELECTCOLUMNS (
            'Table',
            "Country", 'Table'[Country A],
            "Region", 'Table'[Region A],
            "Club", 'Table'[Club Seller],
            "Target", 'Table'[Target],
            "Transfer", 'Table'[Transfer Price]
        ),
        SELECTCOLUMNS (
            'Table',
            "Country", 'Table'[Country B],
            "Region", 'Table'[Region B],
            "Club", 'Table'[Club Buyer],
            "Target", 'Table'[Target],
            "Transfer", 'Table'[Transfer Price]
        )
    )
)

And you will see:

vkellymsft_0-1631869650189.png

Then you could do any filters as you like.

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my raeply as a solution!

View solution in original post

2 REPLIES 2
attilajozsef712
Regular Visitor

Country ARegion AClub SellerCountry BRegion BClub BuyerTargetTransfer Price
ChinaAsiaClub AEnglandEuropeClub CPlayer A10000000
BrasilSouth AmericaClub BEnglandEuropeClub CPlayer B2000000
EnglandEuropeClub CFranceEuropeClub DPlayer C15000000
EnglandEuropeClub CSpainEuropeClub EPlayer D12000000
FranceEuropeClub DItalyEuropeClub FPlayer E6000000
FranceEuropeClub DGermanyEuropeClub IPlayer F75800000
FranceEuropeClub DBelgiumEuropeClub JPlayer G13000000
USANorth AmericaClub GBrasilSouth AmericaClub BPlayer H2650000
EgyptAfricaClub LAustraliaAustraliaClub ZPlayer I120000

Hi  @attilajozsef712 ,

 

Create  a new table as below:

Table 2 =
DISTINCT (
    UNION (
        SELECTCOLUMNS (
            'Table',
            "Country", 'Table'[Country A],
            "Region", 'Table'[Region A],
            "Club", 'Table'[Club Seller],
            "Target", 'Table'[Target],
            "Transfer", 'Table'[Transfer Price]
        ),
        SELECTCOLUMNS (
            'Table',
            "Country", 'Table'[Country B],
            "Region", 'Table'[Region B],
            "Club", 'Table'[Club Buyer],
            "Target", 'Table'[Target],
            "Transfer", 'Table'[Transfer Price]
        )
    )
)

And you will see:

vkellymsft_0-1631869650189.png

Then you could do any filters as you like.

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my raeply as a solution!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.