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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Create relationship between two columns without unique values?

I'm trying to relate two date&time columns in two separate tables.

 

One column captures the date&time a prospect entered my recruitment system.

 

The other column captures the date&time of unique page views from our websites google analytics.

 

Because of the volume of data in each of these tables, there are a few duplicate values in each column. This is not a flaw in the data. Is it impossible to create relationships between columns that do not have 100% unique values? What are my options, how should I proceed with this? 

1 ACCEPTED SOLUTION
jcarville
Skilled Sharer
Skilled Sharer

@Anonymous, it is always good practice to have a separate date table, something like the following will help you create one: https://www.agilebi.com.au/blog/power-bi-date-dimension

 

I would then join each of your 2 tables to the separate date table to get around your issue.

View solution in original post

4 REPLIES 4
jcarville
Skilled Sharer
Skilled Sharer

@Anonymous, it is always good practice to have a separate date table, something like the following will help you create one: https://www.agilebi.com.au/blog/power-bi-date-dimension

 

I would then join each of your 2 tables to the separate date table to get around your issue.

Anonymous
Not applicable

@jcarville Awesome idea! That worked exactly as I needed it to. Really appreciate it. 

Anonymous
Not applicable

In the past what i've done to overcome this challenge is simply hop in the query editor and "remove duplicates" from the data set. I wouldnt advise you do this is many duplicates exist but if its a matter of very minimal data points causing the issue it can at least get you started. 

Many to many relationships cannot exist in PBI as far as I know.

Anonymous
Not applicable

@Anonymous Considering the scope of my inquiry I can probably get away with this, at least as a stopgap solution! Thanks. 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.