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

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

Reply
__Johan__
New Member

Power BI automatically round 17 digit number causing erroneous joins

Hello,

 

I'm new to PowerBI so maybe I'm missing simething obviouos but I'm getting a really strange behaviour.

 

I extract data from the source system using dataflow. Each table has a unique 17 digit ID which PowerBI automatically round to the nearest 10 or 100 when displaying in Reports or in Data view. When I join in Model view it works fine and the corresponding report give the correct result. However when I do the same join using power query (tried all the join versions but it should a inner join) I get multiple of the original rows. The only explanation that I can see is that Power Query joins on the rounded values instead of the actual. PowerQuery also display rounded values in the preview but in filters it shows the correct values. Also the preview in the dataflow shows the rounded number.

When I first convert the attribute to a text field then I get the correct result. In other BI tools this is not recommended as it degrades performance over joining on integers as the data volume grow. 

 

Is there a way prevent these roundings?

What is the best practise for working with keys/identifers in power bi?

 

Appreciate any input you might have!

 

Thanks

Fredrik

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

Storing a column as text over integer can have an impact but it shouldn't be significant unless you have millions of rows.  I would try out the easy fix as a text column and see the impact on file size and if there is any impact on performance (I expect not).  If not an issue, finish your model and make some reports.

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

1 REPLY 1
mahoneypat
Microsoft Employee
Microsoft Employee

Storing a column as text over integer can have an impact but it shouldn't be significant unless you have millions of rows.  I would try out the easy fix as a text column and see the impact on file size and if there is any impact on performance (I expect not).  If not an issue, finish your model and make some reports.

 

Regards,

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors