Hello guys,
I checked almost all messages but anyway I couldn't find any solution for remove delegation errors...
In my app I tried to get currency rate from 'Rate' table with DatePicker control...
When I used that formula;
LocalPrice: Value(TextInput2_85.Text) * If(
ComboBox1_64.Selected.ID = 1,LookUp(Rate,Date = DatePicker1.SelectedDate, EUR),
ComboBox1_64.Selected.ID = 2,LookUp(Rate,Date = DatePicker1.SelectedDate, USD))
No any error, alert or something. But value is zero...
In Rate table, Date column is Date...
When I changed formula to;
LocalPrice: Value(TextInput2_85.Text) * If(
ComboBox1_64.Selected.ID = 1,LookUp(Rate,Text(Date) = Text(DatePicker1.SelectedDate), EUR),
ComboBox1_64.Selected.ID = 2,LookUp(Rate,Text(Date) = Text(DatePicker1.SelectedDate), USD))
Value is correct, but I get a deligation error...
My data in sharepoint list. If you use lookup with text deligation limit is 2000, but with date no limit...
How can I fixed that?
Thanks...
Solved! Go to Solution.
Hi @onurisik ,
Date queries are not delegable and cannot be properly queried on large data sets, however if you have less than 2000 records in your target lists, collect them and query the collection (you will have to increase the limit in PowerApps settings) and your formulas should work as expected.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thanks, It's done...
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
212 | |
205 | |
86 | |
58 | |
38 |