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 / Automatic App created ...
Power Apps
Answered

Automatic App created from a SharePoint list

(0) ShareShare
ReportReport
Posted on by 83

Good morning Group

I have a SharePoint list named “Encuestas”, from SharePoint I generate an Automatic PowerApps from this list.

 

This automatic application generates an Edit Form named EditForm1 and in the DataCardValue14 drop-down list in the items property I have: Choices([@Encuestas].'Se Promueve la Innovación'), which gives me the option of “Si” and “No”. . If I choose Si, it shows me the options from another drop-down list in DataCardValue19 with the options to choose from.

 

In the DataCardValue19 drop-down list, one of the eligible options is “N/A”, how can I configure the DataCardValue19 so that if DataCardValue14 = “No”, DataCardValue19, the option I register is “N/A” without choosing it from the list

Due to locale settings, My statement separator is ;

 

I have made several attempts at the formulas that I show below, but it leads me to error.

//If(DataCardValue14.Selected.Value = "No" || Text(DataCardValue14.Selected.Value) = "No"; "N/A"; LookUp([@Encuestas]; 'Se Promueve la Innovación' = "N/A").ID)

 

//If(DataCardValue14.Selected.Value = "No" || Text(DataCardValue14.Selected.Value) = "No"; "N/A"; LookUp([@Encuestas; Title = "N/A").ID)

 

//If(DataCardValue14.Selected.Value = "No"; DataCardValue19.Selected.Value = "N/A")

Thank you in advance

Categories:
I have the same question (0)
  • SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @JE_Forero 

     

    The DataCardValue19.Items should contains the following code:

    If(
     DataCardValue14.Selected.Value = "No"; 
     "N/A"; 
     LookUp([@Encuestas; Title = "N/A", ID)
     )

     

    Please also share possible error codes to get a better understanding. 

     

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • JE_Forero Profile Picture
    83 on at

    Hi SpongYe

    thank you for your time to respond
    but I get an error: Number of invalid arguments: 1 received, 2 and 3 expected

    imagen.png
  • Verified answer
    SpongYe Profile Picture
    5,909 Super User 2026 Season 2 on at

    Hi @JE_Forero 

     

    Because a set a comma instead of ; 

    Please try again:

    If(
     DataCardValue14.Selected.Value = "No"; 
     "N/A"; 
     LookUp([@Encuestas; Title = "N/A"; ID)
    )


    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

     

  • JE_Forero Profile Picture
    83 on at

    tanks SpongYe

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 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard