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

data model help needed

 I have 3 tables,  customer,  customer_transaction_details,   vendor  

 

customer  - > customer_transaction_details    --- 1 to many  on  customer_ID 

customer  -> vendor     --  1 to many    on customer_ID 

customer_transaction_details  ->  vendor   -- many to many on   - customer id  columns

 

i want to build a report with dimensuon slicers as   vendorId, customer id, 

how do i build data model for this?  

3 REPLIES 3
Daniel29195
Super User
Super User

@Anonymous 

im not aware of your model in total , but 1 possible solution is : 

customer -- >  1 to many to transaction table 

customer -->  1 to many to vendor .

activate bi directional filter on the relation between customer and vendor  (  i would suggest reading about bi directtional filter before going through this solution , to know if it suits your model and wont introduce ambiguity later ) . 

this way, filter from vendor propagates toward transaction details via the customer table .

 

 

so example, 

if you have vendor  1 linked to c1,c2,c3,c4 

if you filter on v1,  the vendor table filter willl propagate towards the customer table and filters customer on 

c1,c2,c3,c4

then customer table's filter will propagate towards transaction and thus you can get the transactions per these 4 customers which are linked to the vendor 1 . 

 

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

 

Daniel29195
Super User
Super User

@Anonymous 

im confused . 

shouldn't you have vendor id in the fact transaction table ? 

 

thus your model should be : 

vendor to transaction details --> 1 to many 

customer to transaction details --> 1 to many .

 

 

 

 

Anonymous
Not applicable

vendor_id is not in the transcation_details table, because transcarion is at the customer level only.

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.