web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataflow decimal colum...
Power Apps
Unanswered

Dataflow decimal columns stored as whole numbers in CDS

(0) ShareShare
ReportReport
Posted on by

Hi , 

 

Can't figure out what I am doing wrong. I use dataflows to get a.o. decimal type columns into CDS entities using Odbc.Query(source,sql )  

 

- I get the desired output from our SQL server

- Columns are of decimal type in power query interface (also tried switching these around --> convert to decimal another time /   convert to string --> convert back to decimal) 

- Entity fields are decimal type in CDS 

 

When checking the data in CDS, app forms, labels, the numbers are there but decimals are missing. 

 

1000,58 is stored as 100058 
1000,5 is stored as 10005 

 

and so on. 

 

Does this ring a bell for anyone? 

 

Thanks in advance 🙂

 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Solved 

    In the power query editor I set the decimal data type along with Dutch language settings. After that committed the output in new entity. 

     

    New entity was created with floating decimal type and the numbers are stored correctly. 

     

     

  • Community Power Platform Member Profile Picture
    on at

    Ok so I THOUGHT this was solved, but it isn't. 

     

    Now that the datatype is floating decimal the numbers are stored as folllows: 

    1000,58 is stored as 100058,00
    1000,5 is stored as 10005,00 

     

    Any help would still be appreciated.. 

  • Verified answer
    David Jennaway Profile Picture
    716 on at

    I think the problem is probably to do with the format of the numbers. I expect something is treating the , as a thousands separator (which is ignored), rather than denoting the decimal place. I suspect this is somewhere due to language settings.

    The issue may be with the connector to SQL; one thing you could try is changing the format to use a . as the thousands separator, wither through language settings, or converting to string and replacing ',' with '.'

  • Community Power Platform Member Profile Picture
    on at

    Hi @DavidJennaway

     

    You got it! 

     

    Changed system notation to en-US 

    In power query changed project options to en-US 

    In formatting options changed to "en-US"

     

    This (or at least one of these actions) got it to run. 

     

    Not sure how to manage keeping my system notation on Dutch though.. 

     

    This will work for now 🙂

     

    Thanks a lot. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard