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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
Yakob_Logerfo
New Member

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

v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

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.
Anonymous
Not applicable

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!
  

v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

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.
Anonymous
Not applicable

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

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

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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