Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Filter Gallery to Display the SQL column Descending Number Only

    Filter('SQL TABLE NAME ',
        Created_By = CreatedBy.Text

I have incremental column that generates unique number for every new row. So, I am trying to get that number (descending ) created by me and add to line item, so I can you same number multiple time for each line item.

With the code I provided it is displaying the right descending number into gallery but when I am creating line item collection for desceding number is not catching the descending. How would be the best way to display from sql only descending and add that number to collection -- line item with no issue. 

Thanks in advence 

Best Regards



Accepted Solutions


Sorry for late respond but is working fine the code I have displayed above.

View solution in original post

Not applicable

Hi @na12063 how are you progressing with this?




Sorry for late respond but is working fine the code I have displayed above.

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,433)