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 / How to change the form...
Power Apps
Unanswered

How to change the formatting of the number lookup values shown in a combo box in power apps (Remove zeros shown in the decimal values)

(0) ShareShare
ReportReport
Posted on by 5

Hi, 

I have a calculated year column ( Based on a date column) in a SharePoint list which is a numerical number with zero decimal values. I have linked this field to a combo box field in power apps. But when it comes in power apps, it adds many zeros at the end. Can someone guide how to get the number values without these zeros. Thanks in advance

huxleyjose_0-1716380330257.png

 

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    hey @huxleyjose 

     

    can you try this please:

    Value(Text(YourDataSourceName.Year, "[$-en-US]0"))
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • HJ-12091456-0 Profile Picture
    5 on at

    HI, I did as you suggested, but still showing a error, the screen shot indicated below, may be I am missing something here, please guide

    huxleyjose_0-1716469845294.png

     

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    might be the case that your column has a different name than year.

    instead of .Year pick the column name that holds the year

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard