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 / Right & Left function
Power Apps
Answered

Right & Left function

(0) ShareShare
ReportReport
Posted on by 308

Hi Power Apps community, 

 

I have a TextInput in my App which is a LookUp that returns a number from my SharePoint list. For example the LookUp returns 5.50 and display it in my TextInput1. I have another TextInput which I want it to display only .50. I have entered this code:

Right(Value(TextInput1.Text,3)

But it keeps telling me an error that it is expecting a Text value. 

 

Someone knows how can I get passed this error? 

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

    @JB0007 
    The LEFT and RIGHT functions do not work on Numbers.  Do this instead.

     

    Text(Value(TextInput1.Text), ".00")

     

    ---
    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."

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Remove Value from the formula;

    Right(TextInput1.Text,3)
    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
  • JB0007 Profile Picture
    308 on at

    Hi @mdevaney 

     

    I have tried the funtion but it returns the same number (5.50) and not the .50.

  • mdevaney Profile Picture
    29,993 Moderator on at

    @JB0007 

    Revised my answer above.

  • alrezac Profile Picture
    Microsoft Employee on at

    Hi,

     

    Looks like you had some great help on this issue. I just wanted to add in a bit more information if you would like to learn more. Feel free to take a look.

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-left-mid-right

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • JB0007 Profile Picture
    308 on at

    @mdevaney 

     

    I have missed a step in first try. What I needed to do was to add another TextInput (TextInput3) and do the Right function from the TextInput2 with your formula. 

     

    RightFunction.png

     

    RightFunction2.png

     

    Now I understand that your formula convert the number into text and from that I can use the Right function. 

     

    Thanks for your help 👍

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard