This code is present on the Items property of the Combo Box in PowerApps form.
However, the expected data is not present in the Combo Box.
Please advise.
If(
User().Email="abc@xyz.com",
Filter(VW_ANC_WorkerPositionRate, REVPROJID=ComboBox1.Selected.PROJECTID),
Filter(VW_ANC_WorkerPositionRate, REVPROJID<>"HO_PLANT")
)
try this
Filter(VW_ANC_WorkerPositionRate, REVPROJID=ComboBox1.Selected.Value),
Filter(VW_ANC_WorkerPositionRate, REVPROJID<>"HO_PLANT")
)
or this
Filter(VW_ANC_WorkerPositionRate, REVPROJID=ComboBox1.Selected.Result),
Filter(VW_ANC_WorkerPositionRate, REVPROJID<>"HO_PLANT")
)
what about the if condition.
try this
If(
User().Email="abc@xyz.com",
Filter(VW_ANC_WorkerPositionRate, REVPROJID=ComboBox1.Selected.Value),
Filter(VW_ANC_WorkerPositionRate, REVPROJID<>"HO_PLANT")
)
or this
If(
User().Email="abc@xyz.com",
Filter(VW_ANC_WorkerPositionRate, REVPROJID=ComboBox1.Selected.Result),
Filter(VW_ANC_WorkerPositionRate, REVPROJID<>"HO_PLANT")
)
Hi @cyberco01,
Have you solved your problem?
Do you want to populate a Combo Box based on current user?
If the REVPROJID is a Text column and you set the ComboBox1 with this column directly, I think your formula is correct which works on my side.
Could you please try this formula one more time and see if there is something error occuring?
@v-qiaqi-msft , records are coming in my combo-box using my formula but not all the records. That's the issue.
Hi @cyberco01,
Okay, that's delegation issue.
Go to the Settings>General>Data row limit, change it into the 2000 if you have 500 there.
Or if you have already set 2000 for the limit, I am afraid the "<>" cause the delegation issue. Currently, it is nondelagable if you have more than 2000 records and filter them using a "<>".
@v-qiaqi-msft , yes i have already set it to 2000. hence all the records are not coming. any other alternative for this.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
199 | |
97 | |
58 | |
51 | |
42 |
User | Count |
---|---|
261 | |
157 | |
84 | |
79 | |
57 |