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 / Choices [ If ] code is...
Power Apps
Answered

Choices [ If ] code issues in Combo Box

(0) ShareShare
ReportReport
Posted on by 148

Hi 

 

below code works perfect but I'm unable to figure out how to add more choices I tried using ; and || or && nothing seems to be working and sorry I'm new to this

 

My code :

If(DataCardValue11.Selected.Value="In Store (Arzanah 8301)", Blank(),Parent.Default)

 

I want to add this choice or how to merge them all together:

If(DataCardValue11.Selected.Value="In Store (Arzanah 8301)", Blank(),Parent.Default)

If(DataCardValue11.Selected.Value="In Store (Main Campus G3030)", Blank(),Parent.Default)

If(DataCardValue11.Selected.Value="In Store (CMHS)",Blank(),Parent.Default)

If(DataCardValue11.Selected.Value="In Store (San Campus 2020)",Blank(),Parent.Default)

 

Screen Shot 2022-02-23 at 12.13.51 PM.png

Categories:
  • Stylead Profile Picture
    148 on at

    Any kind of help is very appreciated!

  • Stylead Profile Picture
    148 on at

    Any kind of help is very appreciated 🙂

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Stylead :

    Please try:

    If(
     DataCardValue11.Selected.Value="In Store (Arzanah 8301)", 
     Blank(),
     DataCardValue11.Selected.Value="In Store (Main Campus G3030)",
     Blank(),
     DataCardValue11.Selected.Value="In Store (CMHS)",
     Blank(),
     DataCardValue11.Selected.Value="In Store (San Campus 2020)",
     Blank(),
     Parent.Default
    )

    Best Regards,

    Bof

  • Stylead Profile Picture
    148 on at

    Thanks, Mr. Bof you are a very helpful guy as usual.

     

    ^_^

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 339 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 289

#3
Mohsin Ali Profile Picture

Mohsin Ali 228

Last 30 days Overall leaderboard