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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
javieezy
Helper I
Helper I

Problem creating relationship

Dear all, 

 

I was trying to create relationship of the MONTH between different tables so I can put data from different tables into the same visual. I wasn't able to create relationship. Am I missing something fundamental? 

Table 1

javieezy_1-1625017620774.png

 

table 2

 

 
 
 

javieezy_0-1625017583571.png

 

I also created date table, but neither

 

javieezy_2-1625017667757.png

 

 

javieezy_3-1625017725064.png

 

any help will be appreciated. 

 

Br, 

 

 

2 REPLIES 2
v-luwang-msft
Community Support
Community Support

Hi @javieezy ,

Try following soultion:

went to "Edit Queries" and selected the table where the non-duplicated values resided (the 'one' side of the relationship). I right clicked on the column containing the key values and selected "remove errors". Doing this then allowed me to create the 'many to one' relationship.

 

similar questions refer:

https://community.powerbi.com/t5/Desktop/The-cardinality-you-selected-isn-t-valid-for-this-relations... 

https://forum.enterprisedna.co/t/power-bi-relationship/1227 

https://community.powerbi.com/t5/Desktop/One-to-one-the-cardinality-you-selected-isn-t-valid-for-thi... 

https://community.powerbi.com/t5/Desktop/relationship-management/td-p/1297831 

 

Wish it is helpful for you!

 

Best Regards

Lucien

sevenhills
Super User
Super User

I will recommend to create a Month table, as you are interested in joining on Month.

 

Month Table columns

Month ... January, Feb... Dec...

MonthNumber ... 1, 2, 3, 4... 12

 

Mark Month column as Sort by column using MonthNumber, which will give better presenation of data in charts ...

 

hope this helps!

 

Check this article, to get an idea https://www.sqlshack.com/how-to-sort-months-chronologically-in-power-bi/

 

And then do the relationships to this Month Table...

 

 

Helpful resources

Announcements
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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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