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 :
Power Apps - Building Power Apps
Answered

How to pass data From Label to DataSource

(0) ShareShare
ReportReport
Posted on by 97

Hello, 

I have a form where I'm needing to pass data from a label back to my data source. Within my data card called "Amount Remaining", I have two labels working jointly to 1. Execute a formula based on other text inputs within the form and 2. Display the results of the first labels formula. On the front end, I have the correct data appearing within my second label as expected while my first label is not visible. I'm having issues with passing that data back to my DataSource.   How can I pass this data back to my data source? When submitting the form, the amount Remaining field within my table is blank. On the front end, the Amount remaining label displays correctly.  

 

DataSource (Dataverse) : "Test Claims Table Dataverse" 

 

Form Name: "Form1"

 

DataCard Name: Amount Remaining

 

Label1 Items Property: If(IsBlank(DataCardValue6.Text),DataCardValue4.Text - DataCardValue8.Text,DataCardValue6.Text-DataCardValue8.Text)

 

Label2 Items Property: Text(Value(Label1.Text),"$#,###","en-US")
Cwilliams12_1-1711551211413.pngCwilliams12_2-1711551232126.png

 

Cwilliams12_0-1711551185357.png

 

I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,670 Super User 2024 Season 1 on at
    Re: How to pass data From Label to DataSource

    @Cwilliams12 - 

     

    The Label control a string, whereas the data type for your Amount field is number data type field. What do you have on the Update property of the DataCard?

     

    I would expect:

     

    Value(Label1.Text)

     

  • Verified answer
    Cwilliams12 Profile Picture
    97 on at
    Re: How to pass data From Label to DataSource

    @Amik Thank you for the help!!!! That did the trick. 

     

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…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard