Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have 3 tables (DOLLAR and QTY tables are related with the third table PRODUCT).
The DOLLAR and QTY columns are correct, but as soon as I bring in the CUSTOMER column the QTY for each customer always shows the TOTAL QTY for all customers. How do I relate the CUSTOMER from the 2 tables? Thanks.
Here is the sample pbix:
Here are the screenshots:
(this is correct)
(when CUSTOMER is added, the QTY is NOT correct)
highlighted in green is correct
(QTY duplicated per line)
Solved! Go to Solution.
Hi,
Create a single column table of all unique customers. Create a Many to One relationship from the Qty and Dollar Table to the Customer Table. To your visual, drag Customer from the Customer Table.
Hope this helps.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi,
Create a single column table of all unique customers. Create a Many to One relationship from the Qty and Dollar Table to the Customer Table. To your visual, drag Customer from the Customer Table.
Hope this helps.
Hi @Oros
Change the relationship to both
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
Hi @aj1973 ,
Thank you for your quick reply. I changed the relationship as you indicated. But it looks like only the total is correct. COuld it be because the CUSTOMER from the DOLLAR and QTY tables must also be related? Thanks again.
The QTY lines are duplicated and do not equal the total qty of 2,165.38.
The matrix table is also not correct because of duplicated QTY.
In Excel Pivot Table, this are the correct numbers.
@Oros New Update:
Use CUSTOMER from the DOLLAR Table instead
And Use Product from the Dollar Table
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
Hello @aj1973 ,
Unfortunately, the result is still incorrect. The QTY column still shows duplicate values. How do we avoid the duplicate values and show the correct values instead? Thanks.
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
Hi @aj1973 ,
Thanks again for your reply.
Unfortunately, the duplicate (incorrect) values still show up in the QTY column.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!