Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Using Table Collection Value to set checkbox

(0) ShareShare
ReportReport
Posted on by 574

Not sure if this is possible but ideally what I would like to do is set the checkbox to be true or false based on if a value is in a collection. 

 

I have a collection that gets data from a SharePoint list. the field in SharePoint is a choice field that can have multiple values. Ideally I'd like the input form to be laid out like this,

 

ctedesco3307_5-1681841359157.png

and if a corresponding value is in the field set the checkbox to true. prob is the field is a table in the collection b/c and I can't drill down to a single value.   Seeing if there is a way to do it. Thx in advance 

ctedesco3307_1-1681840992991.png

 

 

collection 

ctedesco3307_3-1681841186745.png

 

 

  • ctedesco3307 Profile Picture
    ctedesco3307 574 on at
    Re: Using Table Collection Value to set checkbox

     

     

     

  • WarrenBelz Profile Picture
    WarrenBelz 145,434 on at
    Re: Using Table Collection Value to set checkbox

    @ctedesco3307 ,

    You do not need the if/true/false - what I posted will work.

  • Verified answer
    ctedesco3307 Profile Picture
    ctedesco3307 574 on at
    Re: Using Table Collection Value to set checkbox

    @WarrenBelz worked - Thank you! 

     

    If("Personality" in galdcp.Selected.Focus_x0020_Areas, false, true)

  • WarrenBelz Profile Picture
    WarrenBelz 145,434 on at
    Re: Using Table Collection Value to set checkbox

    Hi @ctedesco3307 ,

    Try this on the Default of the checkbox

    "Personality" in coldcp.Value

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard