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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Pbi07
Helper V
Helper V

Avoiding Many to Many with multiple Fact

I am trying to avoid a Many to Many relationship in the following scenario

 

2 Dimensions - 1 for Customer who places order and the other who receives the invoices 

2 Fact -  Order Details and the Bills to be paid with the billpay amount. 

 

Customer and Billpay id is in Customer. Customer 100, 300 & 600 have same payer. I want to bring overdue against the orders. 

 

I tried to summarize the customers to pick the customers who have an order for the selected period, but i will end up with many to many when i link with the pay id's. Is there a way to avoid that relationship and pick only the overdue amount? Pbix is attached. 

Trying to get the result in the below format 

 

Cust IdNameOrderOrder Date Overdue 
100DLR 110002/2/2021 $       200.00
  10253/18/2021 
200DLR 210102/10/2021 $       350.00
300DLR 310203/15/2021 $       200.00
  10354/10/2021 
400DLR 410404/20/2021 $       350.00

 

https://drive.google.com/file/d/11EYZwXA1ipt2-KzMvPT9AC8cIeeDZT4_/view?usp=sharing

1 ACCEPTED SOLUTION
aj1973
Community Champion
Community Champion

I just linked these 2 tables

aj1973_0-1622833871763.png

and add Balance to your table

aj1973_1-1622833934029.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

3 REPLIES 3
aj1973
Community Champion
Community Champion

Hi @Pbi07 

is this what you want to see?

aj1973_0-1622827999072.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

@aj1973 

 

Yes. If it is in table visual it will be in that format

aj1973
Community Champion
Community Champion

I just linked these 2 tables

aj1973_0-1622833871763.png

and add Balance to your table

aj1973_1-1622833934029.png

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.