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
Anonymous
Not applicable

Isnt it possible to have a common data table?

Hello fellow PowerBi-users,

 

I struggle with the following thing:

 

I got one Table with the connections of Customers and Suppliers, but they are in 2 different columns.

Right now I keep 2 separate tables for the description of the Customers and suppliers but I would like to have them in the same table as "common data". But then I always need 2 slicers in the report if I want to filter and search for a description (e.g. "nice").

 

And PowerBi doesnt let me have 2 active relationships from one column of a table to 2 different columns in another table. Does anybody know a workaround or another way to do it or is it straight impossible?

 

For reference here are example data sets:

 

table1

CustomerDescription
CustomerAC Buys F alot
CustomerBC Buys G alot
CustomerCC Buys H alot
CustomerDC Buys I alot
CustomerEC Buys J alot
CustomerFC Buys K alot
CustomerGC Buys L alot

table2

SupplierDescription
Supplier1Su is nice
Supplier2Su is ok
Supplier3Su is best
Supplier4Su returns a lot

table3

SupplierCustomerDeliveryAmount
Supplier1CustomerAX10
Supplier1CustomerBX15
Supplier1CustomerCX10
CustomerCCustomerDY5
CustomerCCustomerEY5
Supplier2CustomerFJ5
CustomerACustomerGV110
CustomerBCustomerGV210
CustomerCCustomerGV310
CustomerDCustomerGV415
CustomerECustomerGV515
CustomerFCustomerGV615

 

So isnt it possible to combine table1 and table 2 into one so i dont need to have 2 datasets (and 2 slicers where i need to search for the description)?

 

Thank you a lot for any help!

Best Regards,

Strathos

1 ACCEPTED SOLUTION
rbriga
Impactful Individual
Impactful Individual

You can then use Alberto Ferrari's technique to create an "OR" slicer, so the result would filter on either slicer rather than both.

 

Another option is to create a "Description" dimension table which would be a distinct union of the descriptions from Suppliers and Customers, and create relationship to that table. Than, use the field from this union table as your filter.

You need to see if this creatues a disambiguity, though.

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!

View solution in original post

3 REPLIES 3
rbriga
Impactful Individual
Impactful Individual

You can then use Alberto Ferrari's technique to create an "OR" slicer, so the result would filter on either slicer rather than both.

 

Another option is to create a "Description" dimension table which would be a distinct union of the descriptions from Suppliers and Customers, and create relationship to that table. Than, use the field from this union table as your filter.

You need to see if this creatues a disambiguity, though.

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!
rbriga
Impactful Individual
Impactful Individual

The way I see this, Table 1 is your Customer dimension table, Table 2 is your Supplier dimension table, and TAble 3 is your delivery fact table.

These are 2 relationships (Customers[Customer] ->Delivery[Customer], Suppliers[Supplier] ->Delivery[Supplier]).

 

Any slicing shouldbe made on the dimension table fields, not the fact table.

For example, a slicer on Suppliers[Description] to search for "nice".

 

What is it you can't accomplish with this setup?

-------------------------
Data analyst by day, hockey goalie by night.
Did I help? Then please hit that "kudos" or "accept as a solution" button!
Anonymous
Not applicable

Hi rbriga,

 

thanks a lot for the fast reply:)

you captured it perfectly, but maybe I formulated it wrong. I do exactly that, but then i need a slicer for Suppliers[Description] anda second one for Customer[Description] if i search for a sepcific description (because i dont know where it is/to which it applies)

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.