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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

error after changing from excel import to entering data directly in Power BI

Dear all,

 

I have imported an excel sheet and saved data from it in two tables in Power BI so far.

Now I created tables with the same data directly in Power BI instead and replaced the imported tables by them, since the tables are very small (1 row, 4 columns) and the excel import causes trouble when installing a data gateway.

However, after replacing the old tables by the new, I get the following error message:

The data type 'XM_TYPE_REAL' does not match the expected data type 'XM_TYPE_INT' for the column 'x' in table 'y' .

 

Can you help me? 

 

Thanks

Susanne

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Dear @HotChilli ,

 

I have checked the data types and they were actually all set as "decimal", so I just recreated the columns dependent on the data in table 'x' and now for some reason it works ^^

 

Thanks anyway!

View solution in original post

2 REPLIES 2
HotChilli
Super User
Super User

Well it looks like powerbi expected an INT in one of the columns but a decimal turned up instead.

So it's probably fixable by changing the data type in Power Query or Powerbi front end

Anonymous
Not applicable

Dear @HotChilli ,

 

I have checked the data types and they were actually all set as "decimal", so I just recreated the columns dependent on the data in table 'x' and now for some reason it works ^^

 

Thanks anyway!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors
Top Kudoed Authors