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 / Toggle Value invalid name
Power Apps
Unanswered

Toggle Value invalid name

(0) ShareShare
ReportReport
Posted on by

I am working on a powerapp, and cannot get the value from a toggle for the life of me. The toggle is called approvaltoggle and is in a vertical gallery , and if I try to add a label to show the value of the toggle in the same row of the gallery using approvaltoggle .Value or Thisitem.ApprovalToggle.Value, I get the error Name isn't Valid.  I tried googleing / searching the forums, but it looks like may people are using toggle.Value in a number of places. What am I doing wrong here? The Default value for approvaltoggle is set to ThisItem.Approval (From a SQL dataset in the app )

Categories:
  • RusselThomas Profile Picture
    4,014 on at

    Hi @grzy7316 ,

    approvaltoggle.Value should work fine inside the same row of the gallery.
    Toggles are boolean by nature, so even just referencing the name approvaltoggle will automatically return the boolean value to a label Text: property.

     

    For something like this it will help to have screenshots - can you show a full screenshot that includes the gallery and the toggle, with the toggle properties displayed on the right?

     

    Kind regards,

     

    RT

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard