Hi,
In the pic below,I have 3 drop-downs(2,3&4). I want that a user should select values from any one of the drop-downs at a time and subsequently data related only to the selection made should reflect in the data table(1).
Please help!
Solved! Go to Solution.
It sounds like you want to have each dropdown to be exclusive of the others in filtering your datatable. If this is the case, you can make the OnSelect property of each combobox create a context variable and use that as the Items property of the datatable. for example,
UpdateContext({itms: Filter(DTA_Portal, OpportunityID=Combobox3.Selected.Text})
and set the Items property of the datatable to itms. Do the same for each of the three comboboxes using the filter appropriate to that combobox. You could have UpdateContext({itms:DTA_Portal}) as the OnVisible property of the screen to set the default for the datatable and perhaps have a Reset button with the same formula to reset the datatable default to show all the items. This design will override previous selections in the other comboboxes.
It sounds like you want to have each dropdown to be exclusive of the others in filtering your datatable. If this is the case, you can make the OnSelect property of each combobox create a context variable and use that as the Items property of the datatable. for example,
UpdateContext({itms: Filter(DTA_Portal, OpportunityID=Combobox3.Selected.Text})
and set the Items property of the datatable to itms. Do the same for each of the three comboboxes using the filter appropriate to that combobox. You could have UpdateContext({itms:DTA_Portal}) as the OnVisible property of the screen to set the default for the datatable and perhaps have a Reset button with the same formula to reset the datatable default to show all the items. This design will override previous selections in the other comboboxes.
Hi @Drrickryp ,
The formula works fine.One additional thing which I require is when a user selects a value in any of the combo-boxes(2,3,&4) the selection made in other two combo-boxes should get removed from the combo-box(as circled in the below pic)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
181 | |
52 | |
41 | |
38 | |
30 |
User | Count |
---|---|
245 | |
81 | |
71 | |
69 | |
66 |