Reply
Aleksandra_MLT
Advocate I
Advocate I
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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!




Syndicated - Outbound

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

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)