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

How do I add a default value for label in power apps

I have added a label in power apps gallery. I would want to set it's default value to "abc" until the user changes its values from the available dropdown values. (in the below case, it is for 3rd record)

GeethaSandra_0-1660169846743.png

 

 

Any help on how this can be done?

 

Thanks,

Geetha

1 ACCEPTED SOLUTION

Accepted Solutions
timl
Super User
Super User

@GeethaSandra 

Let's assume the name of the field that relates to "Open" and "Added" in your screenshot is called Status.

You would set the Text property of the label in your gallery to:

Coalesce(ThisItem.Status, "abc")

View solution in original post

2 REPLIES 2
timl
Super User
Super User

@GeethaSandra 

Let's assume the name of the field that relates to "Open" and "Added" in your screenshot is called Status.

You would set the Text property of the label in your gallery to:

Coalesce(ThisItem.Status, "abc")
GeethaSandra
Helper II
Helper II

Thanks @timl. It worked!!!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,154)