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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Aleksandra_MLT
Advocate I
Advocate I

Relationships only work with text ID's

Riddle with Power BI relationships!

The problem resides within Power BI ( and not source) where the relationship between fact and dim will not fully work. Issue starts with the long ID’s in the dim table. As you can see from the screenshot the mapping is incorrect. But it is only incorrect if: 


1. ID’s are integers ( if we convert it to text, relationships work as desired). We desire them to stay integers

2. If we use ID’s in our dim table which are more than 9 digit numbers (shorter ID’s do get mapped correctly)

So the question I guess is – is there a digit limitation on numeric ID’s upon linking  tables ? 

Aleksandra_MLT_0-1698231709596.png

Aleksandra_MLT_1-1698232019323.png

 

3 REPLIES 3
Anonymous
Not applicable

Hi @Aleksandra_MLT ,

 

Through my tests, he seems to be normal.
Please update power bi desktop to the latest version and try again.

 

My test version:

vtangjiemsft_0-1698392756309.png

My test data:

vtangjiemsft_1-1698392817813.pngvtangjiemsft_2-1698392844469.pngvtangjiemsft_3-1698392864971.png

vtangjiemsft_4-1698392913259.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Idrissshatila
Super User
Super User

Hello @Aleksandra_MLT ,

 

I use a 25 digit ID and it works normally.

 



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Thanks, @Idrissshatila , in this case it only confirms the issue resides elswhere but question remains where 🙂 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

May 2025 Monthly Update

Fabric Community Update - May 2025

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