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 / Value Conversion Error
Power Apps
Answered

Value Conversion Error

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I have Gallery1, in which I am collecting data to patch to an SP List.

I am getting the following error when I choose an item from the 'Activity' dropdown.

The error message doesn't provide any more information clarifying which field is kicking back the error.

How do I determine which field is causing the error? 

I'm assuming the error is in the 'Total' field, which has the following formula. What am I missing?

     If(IsBlank(Activity_ComboBox.Selected.Value), "0""$" & Activity_Quantity_Fld.Text * Activity_Rate_Fld.Text)

Phineas_1-1714619603243.png

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,640 Most Valuable Professional on at

    @Phineas ,

    You need to convert the calculation to Text

    If(
     IsBlank(Activity_ComboBox.Selected.Value), 
     "0", 
     "$" & 
     Text(Value(Activity_Quantity_Fld.Text) * Value(Activity_Rate_Fld.Text), "#,###.00")
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Phineas Profile Picture
    5,331 Moderator on at

    Actually, same error.

    Phineas_1-1714626798720.png

     

    Phineas_2-1714626849132.png

     

  • WarrenBelz Profile Picture
    155,640 Most Valuable Professional on at

    @Phineas ,

    You do not have anything in the Activity Quantity field. You also really need to test all the values

    If(
     Len(Activity_ComboBox.Selected.Value) = 0 || !IsNumeric(Activity_Quantity_Fld.Text),
     "0", 
     "$" & 
     Text(Value(Activity_Quantity_Fld.Text) * Value(Activity_Rate_Fld.Text), "#,###.00")
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Phineas Profile Picture
    5,331 Moderator on at

    The error occurs before I have a chance to add any content to the 'Activity Quantity'.

    The error is occuring on change of the Combo Box, and happened again with the
    new formula.

    Phineas_0-1714657202275.pngPhineas_1-1714657287432.png

     

     

  • WarrenBelz Profile Picture
    155,640 Most Valuable Professional on at

    @Phineas ,

    Try adding the numeric test to the Rate field as well 

  • Phineas Profile Picture
    5,331 Moderator on at

    I had this in the Default of 'Activity Qty' - If(!IsBlank(Customer_Number_Fld.Text)," ").

    I updated the formula to 
    If(!IsBlank(Customer_Number_Fld.Text),"0"), which seems to have corrected the issue.

    As an aside, have you seen my post about my 'Cache Collection' issue?

    If not, can you take a look and provide any suggestions?

  • WarrenBelz Profile Picture
    155,640 Most Valuable Professional on at

    @Phineas ,

    That is not a solution to the question you asked (marking it will only confuse people reading this as that field is nowhere in your formula). The real issue was that the error was not in the formula you posted, so it is impossible for anyone to help you with the available information provided.

  • Phineas Profile Picture
    5,331 Moderator on at

    Okay. Can't undo it now.

    Hopefully, people will put two and two together and see, in my case, not having valid content in the 'Activity Qty' field was part of the problem.

  • WarrenBelz Profile Picture
    155,640 Most Valuable Professional on at

    @Phineas ,

    They may come up with 5 . . .

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 426

#2
WarrenBelz Profile Picture

WarrenBelz 381 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard