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
Anonymous
Not applicable

How to change data type to deicmal when using power query write data to dataverse

Hi,

I'm trying to write a table to Dataverse using power query.

My table has the "Value" column which is very large number (up to 100 billion).

On the ETL process, I set the "Value" 's data type as Decimal number.

2023-02-03_20-24-17.png

 

Then on this window, its set to floating type and doesn't allow me to change back.

2023-02-03_20-28-53.png

 

I tried to run that dataflow and got this error message

2023-02-03_20-31-43.png

 

I tried create the destination table before run the flow, set the "Value" data type as Decimal (on dataverse), then re-run the flow but still got the same error.

 

Any advises? 😄

1 ACCEPTED SOLUTION

Hi @Anonymous - it appears that to need to change your PowerApps (dataverse) table. The target column is set in INT.  This needs to be changed to BIG INT to accept larger numbers.  If this still doesn't work, the column will need to be set to TEXT.  Please note again, this change needs to be made on the Dataverse table not in the Power Query data type.

View solution in original post

4 REPLIES 4
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @Anonymous - rather than "Decimal Number" (per the first image) is the Data Type option for "Fixed Decimal Number" available.  This will force the Power Query to use Currency.Type, and this might make Dataverse treat the column as Decimal or Money Type instead of Floating (I know it seems illogical).  However, I would suggest using Whole Number data type if the numbers are larger than 100,000,000,000

 

Column data types in Microsoft Dataverse (contains video) - Power Apps | Microsoft Learn

Data Type Size Limits 

 

Anonymous
Not applicable

Thanks you for ur response, i tried to using Whole Number data type...

2023-02-06_8-57-43.png

 

 

but got this error T_T''

2023-02-06_9-38-31.png

 

 

Hi @Anonymous - it appears that to need to change your PowerApps (dataverse) table. The target column is set in INT.  This needs to be changed to BIG INT to accept larger numbers.  If this still doesn't work, the column will need to be set to TEXT.  Please note again, this change needs to be made on the Dataverse table not in the Power Query data type.

Anonymous
Not applicable

Thanks you so much;

Setting the data type to BIG INT didn't help. But setting to TEXT worked.

This saved my day, thansk you 😄

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 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.

Top Solution Authors