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 / Get data from multiple...
Power Apps
Answered

Get data from multiple checkboxes

(0) ShareShare
ReportReport
Posted on by 51

I have 5 checkboxes with custom data and a text input. I am looking for a way the text input will display whichever day that is selected on the checkbox. For example, when a user clicks on Tues checkbox, it will display Tues on the text input, and if Wed is checked, then it will add tuesday on top of wed like Tues & Wed. Likewise, when the checkbox is unselected, the text also needs to be gone from the text input. 

 

atn2019_0-1697572391699.png

 

Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @atn2019 - if we assume that the name of each Checkbox is CheckboxMonday, CheckboxTuesday etc, apply the below to the Default property of your Text Input Control:

     

    Concat(
     Filter(
     Table(
     {
     SelectedDay: If(
     CheckboxMonday,
     "Monday"
     )
     },
     {
     SelectedDay: If(
     CheckboxTuesday,
     "Tuesday"
     )
     },
     {
     SelectedDay: If(
     CheckboxWednesday,
     "Wednesday"
     )
     },
     {
     SelectedDay: If(
     CheckboxThursday,
     "Thursday"
     )
     },
     {
     SelectedDay: If(
     CheckboxFriday,
     "Friday"
     )
     }
     ),
     SelectedDay <> Blank()
     ),
     SelectedDay,
     " & "
    )
  • atn2019 Profile Picture
    51 on at

    Thanks for the formulas. They work. What if the input text already contains data (e.g., Tuesday & Wednesday), and I want the text input to display the parent.default data? In other words, when the text input has data from SharePoint, it will display that data. However, when a user clicks on either of the checkboxes, the original data will need to disappear, and the checkbox data will be displayed.

     

    I tried the following formulas, but is not working 

     

    If(Checkbox.Value=false || Checkbox2.Value=false || Checkbox3.Value=false || Checkbox4.Value=false || Checkbox5.Value=false,Parent.Default,Concat(Filter(Table({SelectedDay:If(Checkbox,"Mon")},{SelectedDay:If(Checkbox2,"Tue")},{SelectedDay:If(Checkbox3,"Wed")},{SelectedDay:If(Checkbox4,"Thur")},{SelectedDay:If(Checkbox5,"Fri")}),SelectedDay<>Blank()),SelectedDay," & "))

  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

    @atn2019 - applying this functionality to a Form is a very different question and will require a number of steps. When I have a moment I will put together a blog post explaining what you need to do.

     

    Also, please remember to accept the solution to the original question.

  • Ami K Profile Picture
    15,689 Super User 2024 Season 1 on at

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard