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 / If(AND) statement not ...
Power Apps
Unanswered

If(AND) statement not working in choice field when evaluating two other choice fields

(0) ShareShare
ReportReport
Posted on by 43

I can't for the life of me figure out what is wrong with this formula.  I am evaluating two choice selections from two separate fields to determine the answer for field 3 (which is also a choice/combobox) field.   I run into this issue:

kpromma_1-1689444136208.png

 

 

This is the formula:

=If(DataCardValue24.Selected.Value="Office of Research Admin" && DataCardValue147.Selected.Value="Cost Reimbursable Invoice","PROV Costs ORA","PROV Amount ORA")

 

I've also tried:

=If(And(DataCardValue24.Selected.Value="Office of Research Admin",DataCardValue147.Selected.Value="Cost Reimbursable

Invoice","PROV Costs ORA","PROV Amount ORA"))

Categories:
I have the same question (0)
  • AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello, @kpromma, what is the Items property of your ComboBox? if it is choice, you will need to use the ChoiceObjectName.Value

     

  • kpromma Profile Picture
    43 on at

    My Items property is that formula.

  • developerAJ Profile Picture
    4,763 on at

    =If(DataCa

     

    are you using =

     

  • kpromma Profile Picture
    43 on at

    The = before the formula is not needed in PowerApps.  Only in Excel.

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard