Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

User number formatting for all users

(0) ShareShare
ReportReport
Posted on by 170

I have and issue with number formatting for different users,

 

Some users see ###,###.##

Some users see ### ###,##

 

How to manage this?
I try to change users language setting but it didn't work,

Is it Possible to use one type of formatting for all users?

Categories:
  • M_Ali_SZ365 Profile Picture
    1,110 on at
    Re: User number formatting for all users

    Hi @shnurich ,

    Use Context Variables: Set a global formatting pattern at the app's start (e.g., 

    Set(globalNumberFormat, "###,###.##"))

    and use this variable to format numbers in your controls.

    Create Collections: At the app's onset, create a collection to store formatting preferences (e.g.,

    Collect(numberFormat, {format: "###,###.##"})) 

    and reference it in controls for consistent formatting.

    Leverage Power Automate: Format data using Power Automate before it reaches Power Apps, ensuring uniformity especially with external data.

    Scripting: For complex scenarios, use Power Apps’ scripting capabilities for custom formatting

    If this solution resolves your issue, please consider marking it as accepted.

    Warm regards,
    Muhammad Ali

  • CU09100753-0 Profile Picture
    170 on at
    Re: User number formatting for all users

    I found out that the language of the browser (chrome) affects the formatting of numbers.

  • CU09100753-0 Profile Picture
    170 on at
    Re: User number formatting for all users

    Hello, what centralized formatting settings in Power Apps may I use?

     

    All of this topics nice but do you have some examples?

  • Hassan_SZ_365 Profile Picture
    542 on at
    Re: User number formatting for all users

    Hi @shnurich ,

    To enforce consistent number formatting across all users in Power Apps, you can use the Text function to specify the desired format. Set the Text function on the Text property of the control displaying the number:

     

    Text(yourNumber, "###,###.00")

     

    This will format the number with a comma as the thousands separator and a period as the decimal separator, regardless of the user's locale settings.

    If you need to handle other locales that use spaces or different separators, you would replace the format string accordingly. For example:

     

    Text(yourNumber, "###'###.00", "fr-FR")

     

    This will use the French locale, which typically uses space as a thousands separator and a comma for the decimal point.

    Remember to replace yourNumber with your actual data source field or value.

    Best Regards,
    Hassan Raza

  • M_Ali_SZ365 Profile Picture
    1,110 on at
    Re: User number formatting for all users

    Hi @shnurich ,

    To manage number formatting consistently for all users in Power Apps, try these steps:

    1. Centralize Settings: Use centralized formatting settings in Power Apps to enforce a uniform number format across all users.

    2. User Profile Configuration: Ensure all user profiles are set to the same language and regional settings.

    3. Application-Level Settings: Check if Power Apps allows you to set number formatting at the application level, overriding individual user settings.

    4. Scripting Solution: If available, use a scripting solution within Power Apps to format numbers consistently.

    Note: The effectiveness of these solutions depends on the specific capabilities of Power Apps. If these steps don't work, consider reaching out to Power Apps support for more tailored advice.

    If this solution resolves your issue, please consider marking it as accepted.

    Warm regards,
    Muhammad Ali

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard