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 / Show fractions in inch...
Power Apps
Answered

Show fractions in inches dropdown

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey there,

I have in my app an input for the whole numbers and a dropdown for the fractions of the inches.

Side to that, I have a label that show the max and min.

1. I want the inches to shown as fractions.

2. If I write 4 3/8 it will recognized it as 4+3/8, as for now it is not.

thanks

Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    The key here is to ensure the fractions are stored as text instead instead of numbers.

     

    Suppose you have a Text Input that will receive the inches value and is initially blank.  Put this code in the Format property of the dropdown to ensure only numbers can be input.

    Format.Number

     

    Then your fractions dropdown has these values in the Items property

    ["1/4","3/8","1/2","5/8","3/4","7/8"]

     

    Finally, put this code in the Text property of the label to display the fractional number

    TextInput_Inches.Text&"-"&Dropdown_Fraction.Selected.Value

     

    Now the number will display like this

    4-3/8

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Any chance for PrtScn for each step you wrote?

    Couldn't find the "items"?

    Thanks

  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @Anonymous 
    Click on the dropdown for fractions.  Then, look up at the formula bar in PowerApps Studio.  You can change the current property to the left of the formula bar.

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • ajdhingr Profile Picture
    Microsoft Employee on at

    @ mdevaney thanks for sharing

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard