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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Valnus
Helper II
Helper II

Table Relationships

I have two tables 

 

1) Dataset

2) Date Table 

There is no relationship between the two that Power Bi can pickup. I can link Assessment Dates column to the corresponding Date table month for a link. 

But when I create a index using power query in both and link them up that way my results change in my visuals. 

Why and what is the correct way ? 

I have a feeling there is a concept I am not 100% understanding 





1 ACCEPTED SOLUTION

Hi @Valnus 

 

If the sole purpose of creating index columns in both tables so that you can create a relationship betwen them (link the tables) then you don't need to do that.  PBI should, and by the looks of it has, identified the relationship and created it.

 

You can now create visuals/reports/measures based off the 2 tables by the relationship that exists between them.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

5 REPLIES 5
PhilipTreacy
Super User
Super User

Hi @Valnus 

 

Thanks for the file.  I can see that there's a 1-M relationship between the Date Table and the dataset so that is correct.

 

What is it you are trying to do that is not working?  Why do you need to create an Index?  What is its purpose?

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Thanks 

 

I wanted to create two index colums in each table to create the link as I did not see the date link between the two tables and I created it by dumb luck.

Maybe my understanding of this in Bi needs a correction. 

But is the idea of a duel index columns a bad one ? 

 



Hi @Valnus 

 

If the sole purpose of creating index columns in both tables so that you can create a relationship betwen them (link the tables) then you don't need to do that.  PBI should, and by the looks of it has, identified the relationship and created it.

 

You can now create visuals/reports/measures based off the 2 tables by the relationship that exists between them.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


PhilipTreacy
Super User
Super User

Hi @Valnus 

 

If your dataset contains dates and your date table contains all dates from Jan 1 to Dec 31 in the years listed in your dataset then things should work fine.  PBI should create a relationship between the two tables - there's no need for a separate index.

 

Without seeing your file it's hard to say what is going wrong - please supply it.

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.