Hello,
I can't find how to populate a dropdown list from SP. In my SP list named tblAff i have two fields one called affNum and the otherone called affStatus. Values for affStatus are "Yes" or "No". I want to create a dropdown list in my power app containing all affnum data having affStatus = "Yes".
I have tried : Filter(tblAff;"Yes" in Lower("affStatus")) but i get anempty dropdown
Thanks
Solved! Go to Solution.
Hi @Anonymous,
Do you want to filter on affnum data that has a "Yes" affStatus?
Could you please tell me that if the affStatus is a Choice or Text type in your SP list?
1). If affStatus is a Choice type, please set the Items as below:
Filter(YourSPList,affStatus.Value="Yes").affNum
2). If affStatus is a Text type, please set the Items as below:
Filter(YourSPList,affStatus="Yes").affNum
Hope it could help you at some degree.
Hi @Anonymous
Filter(tblAff,affStatus)
Example
Hi @Anonymous,
Do you want to filter on affnum data that has a "Yes" affStatus?
Could you please tell me that if the affStatus is a Choice or Text type in your SP list?
1). If affStatus is a Choice type, please set the Items as below:
Filter(YourSPList,affStatus.Value="Yes").affNum
2). If affStatus is a Text type, please set the Items as below:
Filter(YourSPList,affStatus="Yes").affNum
Hope it could help you at some degree.
Agree. I assume affStatus is boolean since it has Yes and No
Filter(tblAff,affStatus).affnum
If this is a choice type then
Filter(tblAff,affStatus.Value="Yes").affnum
Note:
Filter(SPList, condition).FieldName or Set the field in the fields list on the properties panel. Both are the same.
Thank you the solution for Choice type works perfectly !
User | Count |
---|---|
261 | |
115 | |
99 | |
48 | |
41 |