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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
v-tangjie-msft
Community Support
Community Support

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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