cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Phineas
Post Prodigy
Post Prodigy

Remove Decimal

How do I get the 0.68 to show as a whole number (the % sign shown is a separate field).

I have the following in the Gallery field (the data is coming from a separate List that the Gallery is referencing).


LookUp(WarrantyProjectList,ThisItem.ProjectName=ProjectName).ProjectPercentageDone

Phineas_1-1664295983515.png


The is the List/Column where the data is stored.

Phineas_0-1664295954923.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@Phineas 

Please consider changing your Formula to the following:

Text(
    LookUp(WarrantyProjectList,ThisItem.ProjectName=ProjectName).ProjectPercentageDone * 100,
    "0%"
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

1 REPLY 1
RandyHayes
Super User
Super User

@Phineas 

Please consider changing your Formula to the following:

Text(
    LookUp(WarrantyProjectList,ThisItem.ProjectName=ProjectName).ProjectPercentageDone * 100,
    "0%"
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,472)