cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
noobi
Helper II
Helper II

Display a variable in Textbox

Hello, 

as I try to understand this Software, I stumble across a difficulty for me to understand:

 

Is there a possibility to display the value of a variable (doesnt matter if Global or Local) on a text label? Here users First name is stored in a global variable:

 

 

Set(UserFirstName; First(Split(User().FullName;" ")));;

 

 

Here users first name is displayed on a text label:

 

First(Split(User().FullName, " ").Result).Result

 

 

I would like to display the value of the global variable on a text label.

 

Thank you1

1 ACCEPTED SOLUTION

Accepted Solutions
Manan-Malhotra
Skilled Sharer
Skilled Sharer

TRy it this way

 

UserFirstName.Result

 

 

Or 

 

Set(UserFirstName; First(Split(User().FullName, " ").Result).Result));

 

@noobi 

Please Accept as Solution if it solves your question Or just give it a Thumbs Up if it is helpful because this can help others.

LinkedIn: https://www.linkedin.com/in/manan-malhotra-vfx/

Want to support me! Buy me a Cup of Coffee?

View solution in original post

2 REPLIES 2
Manan-Malhotra
Skilled Sharer
Skilled Sharer

TRy it this way

 

UserFirstName.Result

 

 

Or 

 

Set(UserFirstName; First(Split(User().FullName, " ").Result).Result));

 

@noobi 

Please Accept as Solution if it solves your question Or just give it a Thumbs Up if it is helpful because this can help others.

LinkedIn: https://www.linkedin.com/in/manan-malhotra-vfx/

Want to support me! Buy me a Cup of Coffee?

noobi
Helper II
Helper II

Now I understand. Thank you

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (6,189)