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 / Is there anyway to rem...
Power Apps
Answered

Is there anyway to remove commas from Numerical data types

(0) ShareShare
ReportReport
Posted on by 4

Client has asked that the commas displayed for Northings and Eastings in this view be removed to more accurately represent coordinates. We have discussed the possibility of making it a text field, however, there are numerous dependencies within a PowerApp and other processes such as locational algorithms and what3words that require numbers and it will break a lot of stuff to change it to text. 

Benjy_97_0-1670946332210.png

 

 

I have the same question (0)
  • AhmedSalih Profile Picture
    6,678 Moderator on at

    Hello, @Benjy_97, the best way to do this, is to change your system setting number format:

     

    AhmedSalih_0-1670949860791.png

     

    Set the Digit Grouping Symbol to Blank:

    AhmedSalih_1-1670950009799.png

     

    ** Don't forget to Publish All Customization after this change.

     

     

    If my reply helped you, please give a 👍 , & if it solved your issue, please 👍 & Accept it as the Solution to help other community members find it more.


    I am primarily available on weekdays from 6-10 PM CT and 5-10 PM CT on weekends.


    Visit my Blog: www.powerplatformplace.com


     

     

  • stevenpetersmi Profile Picture
    207 on at

     Is there a way to avoid the system setting as I just want one column to have numbers to remove commas but keep the rest of the commas for another column?

  • VidyadharB Profile Picture
    4 on at

    @stevenpetersmi Use calculated column or formula column(fx) to achieve your requirement

     

    Example by using formula column in dataverse

     

    VidyadharB_0-1716835959670.png

    If my reply helped you, please give a 

     , & if it solved your issue, please

     & Accept it as the Solution to help other community members find it mor

    Visit my Blog:VidyadharB 

     

     

     
  • stevenpetersmi Profile Picture
    207 on at

    Does that mean I have to create a new column? and change into text version. not decimal one

  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    HI @Benjy_97 

     

    Yes you need to create a field with TEXT and You can use Flow/Process/Plugin/JS to update the same value

     

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

  • Verified answer
    stevenpetersmi Profile Picture
    207 on at

    Thanks for the details, I have used javascript and it is working fine.

    function ValidateNumberOnly(executionContext) {
     'use strict';
     var formContext = executionContext.getFormContext();
     var fieldText = formContext.getAttribute("numberonly").getValue();
     if (fieldText === null) return;
     if (!fieldText.match("^[0-9]*$")) {
     formContext.getControl("numberonly").setNotification("Please enter only numbers", 102);
     return false;
     } else {
     formContext.getControl("numberonly").clearNotification(102);
     return true;
     }
    }

     

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard