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 / combobox value dependi...
Power Apps
Unanswered

combobox value depending on 2 combobox

(0) ShareShare
ReportReport
Posted on by 153

I have a combobox SagStatus_ComboBox in my ticket system, right now it works with this

If(IsBlank(SagTildelt_ComboBox.Selected); LookUp(TVServiceDesk; Id=varCurrentId; Status); {Value: "Tildelt"})

Right now, if the SagsTildelt_ComboBox is empty it will make the LookUp, if I select anything in the SagTildelt_ComboBox it changes the combobox value to "Tildelt" 

 

But I need it to change the value to "Tildelt" if I select a value in SagTildelt_Combobox  and the SagStatus_Combobbox has the value "Ny"

Categories:
  • NPPlatform Profile Picture
    606 Moderator on at

    If I understand you correctly, you want to check for two thing in your If-statement. You can do this with the And-function or the &&-operator.

     

    It's unclear to me whether you want to replace your code or want to add to it. You've got two comboboxes, SagTildelt_Combobox and SagStatus_Combobox. Right? When do you want the result to be the LookUp-result? And when do you want it to be "Tildelt"? And is there a third possible result you want in there, or no?

  • tusa Profile Picture
    153 on at

    @NPPlatform that's right, I want to check for two things (I think?).

    Only when the SagStatus_ComboBox value is "Ny" and I choose a name in the SagTildelt_ComboBox I wan't the value of the box "Tildelt" otherwise it should just be the lookup value.

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard