Hi,
I'm using dropdown to select value,unfortunately it's not showing all the field values from the table.
Thanks
Solved! Go to Solution.
@Anonymous
The general rule is: when you cannot avoid delegation you must build a the information into your datasource in advance.
I think @timl put it best with his forum post:
"""A workaround is to create a SQL Server View that returns the distinct [Product_Name] values in your table. You can then add this data source to your app and set the items property of your combo box to your view.""
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
@Anonymous
You need to supply more information for the forum to help solve your problem. Make sure to include:
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Thank you for the reply.
I'm using Azure SQL table as Data source and dropdown coltrol.
Distinct(Tariff,Effectivedate) code used in dropdown Items property.
@Anonymous
How many records are in your Tariff table? The DISTINCT function is not delgable which means that it will only look at the first 500 records (or 2,000 if you have increased the delegation limit in advanced settings) and return the unique values. It will not consider any rows past the 500th, nor will it return them in the result set.
thank you,
I was tryed with both delegations limits ,when delegation is 500 ,the number of dates on dropdown 6,when delegation limit 2000 then number of dates were 15,the actual table contains 23 distinct dates.
Thank you,
what is the alternative way for dates especially,please suggest.
@Anonymous
The general rule is: when you cannot avoid delegation you must build a the information into your datasource in advance.
I think @timl put it best with his forum post:
"""A workaround is to create a SQL Server View that returns the distinct [Product_Name] values in your table. You can then add this data source to your app and set the items property of your combo box to your view.""
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Hi @mdevaney
Thanks for the mention 🙂
In this case, I agree that using a view is the best way to do 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.
User | Count |
---|---|
165 | |
94 | |
64 | |
63 | |
61 |
User | Count |
---|---|
238 | |
162 | |
95 | |
83 | |
80 |