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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
wbart
Helper I
Helper I

key column want work with 1:n

Hello,

 

I have a dimensional table containing one column I want to use as key. I removed all duplicates, null and empty values. The datatype is text the format too. I want to have a reationship to my fact table with the 1:n cardinality but Power bi allows n:1 not 1:n. why is that so?

 

Best regards

wbart

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@wbart , There should some problem still be key column. Manually try to force 1-N, if give error, try this to check.

 

From your dimension table. Take the key column and put that on table visual (as not summarized), Again drag the same column with count as summarization. Sort on count you should be any value >1 .

 

Sort on key, you should not see any null/blank value.

 

In case there is some issue resolve it. If not

Can you share a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@wbart , There should some problem still be key column. Manually try to force 1-N, if give error, try this to check.

 

From your dimension table. Take the key column and put that on table visual (as not summarized), Again drag the same column with count as summarization. Sort on count you should be any value >1 .

 

Sort on key, you should not see any null/blank value.

 

In case there is some issue resolve it. If not

Can you share a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

After removing duplicates same phrases with different capitals still in the column! Thank you for your advice.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.