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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.