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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.