Notifications
Announcements
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
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
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
might be the case that your column has a different name than year.
instead of .Year pick the column name that holds the year
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268