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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Analitika
Post Prodigy
Post Prodigy

Relationships in Power BI

Hello,

 

I would like to ask how to fix not showing duplicates in Power BI visual? I made relationship but still see duplicates in visual.

Relationship wasa many-to one.

Analitika_0-1654002693518.png

Visual having duplicates, last column.

Here is a relationship: 

 

Analitika_0-1654003507243.png

 

 

 

 

5 REPLIES 5
AncaZ
Frequent Visitor

Hi @Analitika ,

 

In your image, I see that the third column contains different data for each row. So the row is not technically duplicated. Did you try taking the third column out? Is the data still duplicated?

Greg_Deckler
Super User
Super User

@Analitika Is the last column a calculation or ?

Sorry, having trouble following, can you post sample data as text and expected output?
Not really enough information to go on, please first check if your issue is a common issue listed here: https://community.powerbi.com/t5/Community-Blog/Before-You-Post-Read-This/ba-p/1116882

Also, please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

The most important parts are:
1. Sample data as text, use the table tool in the editing bar
2. Expected output from sample data
3. Explanation in words of how to get from 1. to 2.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I can't publish .pbix because it is a sensitive data. 

Analitika_0-1654003986789.png

 

It sums all amount instead showing each client sum value. Instead of 620 it sums 620+620+620 as per one client. That is not correct

I am using column from skolup table.

Here is the relationship between tables. 

Hi  @Analitika ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Analitika ,

You can refer the following links to get it.

Sum distinct values for first occurance in Power BI

yingyinr_0-1654245422996.png

Power BI DAX Function To Find Unique or Duplicate Values in Power BI

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.