cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EmilRose
Frequent Visitor

PowerApps on CRM data: Filtering one combobox wth another combobox' value

Hi,

 

I am building an app used for timeregistration. Timeregistration is a custom entity in my CRM system.

I have a new timeregistration form and on this i have 3 combobox controls. One is a lookup to account, the next is a lookup to projects (another custom entity) and the 3rd is a lookup to projectactivity (3rd custom entity). What I would like to achieve is this.

Account lookup should have no filter

Project lookup should be filtered on projects that are associated with the account

Project activity should be filtered on project activities that are associated with the project.

 

So far I've tried this on the project lookup combobox:

Items = Filter(Choices(Timeregistrations.new_Project), DataCardValue11.Selected.accountname exactin 'Project (new_Project)'.'customer (new_customer)'.accountname)

There doesn't seem to be any errors in the formula but when i press the chevron i get no items in the combobox. Same with searching. Another thing that I've noticed that I find weird is that when i highlight the control it says "combobox" at the right side. But in the tree structure to the left it just says datacardvalue10 for an example. No idea if that means anything

 

Any help would be greatly appreciated

1 REPLY 1
Anonymous
Not applicable

Bumping for visibility 

 

@Anonymous 

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (14,933)