1

I'm trying to fill the blank label with a phrase when the dropdown is equal to SI, but it doesn't work and I don't understand why?

I put If(Dropdown1.SelectedText="SI";"¿Desde cuándo se está prestando?"), but Power Apps show me the same error incompatible type for comparison, cannot compare the types, Record, Text.

Which option I have to select "Text"; "OnSelect"; "Fill"? and then write the formula?

enter image description here

4
  • What is the data source of drop down (items property of drop down)? Sep 29, 2021 at 5:01
  • Its a excel's list in a sharepoint. No sharepoint list
    – Franco
    Sep 29, 2021 at 7:16
  • Try using below formula in my answer. let me know if it works for you. Sep 29, 2021 at 7:33
  • i've already used previously, serveral times, this formula and it doesnt work.
    – Franco
    Sep 29, 2021 at 10:36

1 Answer 1

0

Set Text property of label control to:

If(Dropdown1.Selected.Value = "SI"; "¿Desde cuándo se está prestando?")

Documentation:

  1. Drop down control in Power Apps
  2. If and Switch functions in Power Apps

Your Answer

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

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