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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Number to text convers...
Power Apps
Unanswered

Number to text conversion and back again

(0) ShareShare
ReportReport
Posted on by 181

Hi there,

 

I am devloping an app for project management and now there is a need for some simple budget calculations.

I want the users to be able to input a number like 500000, but the display should be like 500 000, with a space as thousand separator (Swedish style). I would like to have as less user interaction as possible, so I use Patch directly in the OnChange property where I would like to store the value as a number in Sharepoint, because I will use it  later in Power BI.


Does anyone have any ideas on how to accomplish this?

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @LennartWalldén 

    If you set the Format property of the textinput box to number, the user would be forced to input the data as a number as this is how you want to save your data to SharePoint.  You could put a label over the textinput control with this formula as shown below.  Alternatively, to save real estate on your form, instead of a label you could set the tooltip to the same formula. !1.jpg

  • LennartWalldén Profile Picture
    181 on at

    @Drrickryp 
    Thanks for your answer.

    Actually I think I got it working. I thought I hade made some mistake, because the data in Sharepoint, looks like in the picture below.

    SharepointDisplay.png

    But then I realized that this is something happening in Sharepoint and it converts fine to Power BI so I decided to leave it that way. No one will look in this lists anyhow.

     

    My solution is to use a TextInput field set to text and then i use a collection for  the interaction, and then I have a timer that takes tha data from the collection and stores it to Sharepoint. I have set the OnChange and Default like the pic. below.

    txtToNumber.png

    Now I have to figure out how I can restrict the input to figures only.  

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard