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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Why is cardinality Many:Many when a Excel table has a distinct field?

I decided to import a Table ("Workdays") from Excel with the number of work days. It has one row per YEAR_MONTH and the YEAR_MONTH field would be the connection to the BI_Calendar. This should be 1:Many. 

 

I read through pages of Cardinality questions and didn't find a similar one. I have this issue often when importing a table from Excel. Not when I make a table in SQL (I have no SQL access to do so). 

 

ScubaBob_0-1604504447225.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , In table Workdays, is Year_month values are duplicate or null, in that case, you will have many to many

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , In table Workdays, is Year_month values are duplicate or null, in that case, you will have many to many

Anonymous
Not applicable

Blank Cells contained invisible characters. They show up in Excel as blank cells and Excel treated them as blank.

Anonymous
Not applicable

@amitchandak 

Thank you for your interest. No. Year_Month is distinct. I did an Export of the table from PBI. No Null Rows. I did a check of count for each row and Year_Month is distinct. Yes, the other two columns have many but that shouldn't matter.  The Forum wouldn't allow me to post the table output, odd.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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