Hej power apps experts,
My datasource is SQL server with more than 5000 rows. I have a date column knowns as 'CreatedOn'.
I want to return the minimum date and maximum date. I am not able to avoid delegation problem.
I have tried:
Min(sql_table, CreatedOn) - delegation issue, I guess because Min function is for Number type.
First( Sort(sql_table, CreatedOn, Ascending)).CreatedOn - delegation issue because of First function. But, source of first funtion is sorted in ascending order (without delegation issues), and I am fetching the first row - Would I ever get issues here? Theoretically it seems that this should hold.
Any better ideas to work this out?
Can somebody help. Any help would be appreciated.
Thanks.
Okay, I found a work around but it looks too dramatic:
First( FirstN( Sort(sql_table, CreatedOn, Ascending), 1) ).CreatedOn