0

I have a PowerApps form where I've added some checkboxes, and I want to reference a dropdown field's selection for those checkbox default values. The issue I'm having is that the choice field is multi-select. If it weren't I could just go to each checkbox and set its default property to If(DatacardValue37.Selected.Value = "Advisory", true, false). But this only works if ONLY that choice is selected.

My question is, is there a way to write this default value that will say If(DatacardValue37.Selected.Value Contains "Advisory", true, false? Not sure how to apprach this.

Thanks for the help.

1 Answer 1

2

Try using formula in below format:

If("Advisory" in DatacardValue37.Selected.Value, true, false)

Microsoft official documentation: Power Apps in Operator

1
  • 1
    Thank you! Worked perfectly
    – Quilly
    Commented Jun 8, 2023 at 18:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.