web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : +DMc8OK92SG6YYxgSh5OOB
Power Apps - Building Power Apps
Unanswered

Value does NOT work cannot be converted to a value

Like (0) ShareShare
ReportReport
Posted on 19 Jun 2023 22:58:36 by

Has anyone seen this error before, or know how to cure it. The error does not feature as a formula error - moreover it features as a Runtime error but doesn't stop the run execution.

mc00515_0-1687215124979.png

The datacard corresponds to a SharePoint column that has been formatted as single line text, but is also displaying a number. The number is formatted in Power Apps to report a percentage or a some free text. I have tested it by typing the words " Does NOT work".  The text patches through to SharePoint, but throws the error as reported. I was also hoping to display numbers as % if anyone knows how to do that in SharePoint (for a text column)

 

 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 28 Jun 2023 at 14:02:06
    Re: Value does NOT work cannot be converted to a value

    Hi @EddieE ,

     

    You didn't specify whether your code is applicable for data formatted as numbers or single line text.

     

    As Single line text, it only works for numeric values, while losing the "%" sign in the control.

    It will  not permit free text.

     

     

  • EddieE Profile Picture
    4,641 Moderator on 20 Jun 2023 at 22:47:46
    Re: Value does NOT work cannot be converted to a value

    @Anonymous 

    I think the issue is that you are trying to convert Text to a Value in your formula, eg

     

    Value( "Does NOT Work") creates the error

     

    To fix, you just need another condition inside your If() to cover this situation, try this

    If(
     // condition 1
     IsBlank(Parent.Default), Blank(),
    
     // condition 2
     IsError( Value(Parent.Default) ), Parent.Default,
    
     // else condition
     Text( 
     Value(Parent.Default) * 100, 
     "#%" 
     ) 
    )

     

    Also, to Patch the Blank(), make sure you have formula-level error management on in the Settings, ie

    EddieE_0-1687301229705.png

     

     

  • Community Power Platform Member Profile Picture
    on 20 Jun 2023 at 06:40:50
    Re: Value does NOT work cannot be converted to a value

    Hi @EddieE,

    Thanks for dropping by and taking a look. Darn thing is giving me some grief 😕

    My goal is to give the user the option to enter data either as text or a number formatted as a percentage. Originally I had the SharePoint list column uploaded as number formatted to %, but this didn't give the option to add free text I added an additional column to the list as single line text and gave the corresponding app control the following code in the default property.

    If(
     IsBlank(Parent.Default),
     "",
     Text( 
     Value(Parent.Default) * 100, 
     "#%" 
     ) 
    )

    That permits to patch a percentage value back to the SP List. If I then attempt to patch any free text back to the list, I get an initial error message saying there is a conflict with the server to patch that specific comment back. However, if I refresh the app, it permits me to patch it back, but not without a Runtime error.

    mc00515_0-1687243209687.png

     

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on 19 Jun 2023 at 23:29:02
    Re: Value does NOT work cannot be converted to a value

    @Anonymous - just noticed @EddieE also responded, I'll leave you with him.

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on 19 Jun 2023 at 23:24:32
    Re: Value does NOT work cannot be converted to a value

    @Anonymous - what is the actual field type of the SharePoint column? It is not clear from your description whether it is single line text or number.

     

    If it is a number, that error should be expected because it looks as if you're trying to Patch Text values into a Number column.

     

    ------------------------------------------------------------------------------------------------------------------------------

     

    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

  • EddieE Profile Picture
    4,641 Moderator on 19 Jun 2023 at 23:15:24
    Re: Value does NOT work cannot be converted to a value

    @Anonymous 

    Can you show the full error message?

     

    Also, the DataCard setup would be helpful as well, eg Default property, any other properties that may affect this and the Update property of the DataCard

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading started
Loading complete