cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Bianca_Correa Frequent Visitor
Frequent Visitor

Tables Relationships Duplicate values in table visualization

Hi, I need help to understand what's going on with the relationships between tables.
I have two tickets table from two differents softwares. I getting this information with SQL in Power BI.

I have dCalendar and Details table too.

The Details table brings the url from each client and it's connected to both tickets tables by the Client field. 
The dCalendar also it's connected to both tickets tables by the DataCompleta field.

When a try to put this informations in a table visuals, the values double.

print_1.png

 

print_2.png

 

What I'm doing wrong?

PS: The prints informations are in Portuguese.

1 ACCEPTED SOLUTION

Accepted Solutions
Bianca_Correa Frequent Visitor
Frequent Visitor

Re: Tables Relationships Duplicate values in table visualization

Hello @v-eachen-msft 

I try this but it doesn't work. 😕

I try to change the relationship between tables and my problem was partially resolved. The registers don't repeat anymore but the numbers are different comparing individuals values against values of table. Prints down bellow:

 

print.png

 

Same date and client but the numbers are different.

print2.png

 

I updated the new file onthe same link to use as a sample.

I appreciate any help!
  

View solution in original post

5 REPLIES 5
Community Support Team
Community Support Team

Re: Tables Relationships Duplicate values in table visualization

Hi @Bianca_Correa ,

 

Could you please share your sample data and excepted result to me if you don't have any confidential Information. Please upload your files to One Drive and share the link here.

 

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

Re: Tables Relationships Duplicate values in table visualization

Thanks for your help @v-eachen-msft !
Here is the link with my sample.

https://drive.google.com/open?id=1F8lAv0HxOl4WTD9ert3rrFyEbfd-Rrsf

 

Community Support Team
Community Support Team

Re: Tables Relationships Duplicate values in table visualization

Hi @Bianca_Correa ,

 

You could edit the [StartYear] and [EndYear] like the following DAX:

StartYear =
CALCULATE ( MIN ( Data[DataCompleta] ), ALLSELECTED ( Data[DataCompleta] ) )
EndYear =
CALCULATE ( MAX ( Data[DataCompleta] ), ALLSELECTED ( Data[DataCompleta] ) )

 

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

Re: Tables Relationships Duplicate values in table visualization

Hello @v-eachen-msft 

I try this but it doesn't work. 😕

I try to change the relationship between tables and my problem was partially resolved. The registers don't repeat anymore but the numbers are different comparing individuals values against values of table. Prints down bellow:

 

print.png

 

Same date and client but the numbers are different.

print2.png

 

I updated the new file onthe same link to use as a sample.

I appreciate any help!
  

View solution in original post

Yakob_Logerfo Frequent Visitor
Frequent Visitor

Re: Tables Relationships Duplicate values in table visualization

I need help, new to Power bi, How can I create relationship between this table? I have to source of data one for DATA # & DATA $, And I have to completed calculated tables for each, how can I work with all tables by crating the relationship between the tables.
Annotation 2019-11-04 101616.png

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 400 members 3,239 guests
Please welcome our newest community members: