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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anduve11
Frequent Visitor

Error when I change type from decimal number to whole number

I'm bringing in two tables.  A Fact table and a Dimension table.  I'm trying to join them on Deparment_ID, which is a whole number and can range for 0-999.  When i go into Edit Queries and change the Deparment_ID from a decimal number to a whole number and then hit close and apply I get an error.  When I view the error the applied steps are Souce, Added Index, Kept Errors and Reordered Columns.  I have no idea why it's adding an index and reordering the columns.  Any help would be greatly appreciated.Error MessageError MessageFact TableFact TableApplied Steps InfoApplied Steps Info

1 REPLY 1
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Anduve11,

 

I have made a test try to reproduce your issue, but when I change the data type from a decimal number to a whole number in Query editor, everything works as expected.

 

What is your data source and how do you connect it?

I'm trying to join them on Deparment_ID, which is a whole number and can range for 0-999. 


 

Besides, Have you merged the two tables with the department Id? 

 

If it is convenient, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.