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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.