cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
na12063
Level: Powered On

Filter Gallery to Display the SQL column Descending Number Only

Sort(
    Filter('SQL TABLE NAME ',
        Created_By = CreatedBy.Text
         ),
        id, 
        Descending 
    )

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
na12063
Level: Powered On

Re: Filter Gallery to Display the SQL column Descending Number Only

@TopShelf-MSFT,

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

View solution in original post

2 REPLIES 2
Highlighted
Administrator
Administrator

Re: Filter Gallery to Display the SQL column Descending Number Only

Hi @na12063 how are you progressing with this?

 

@TopShelf-MSFT 

na12063
Level: Powered On

Re: Filter Gallery to Display the SQL column Descending Number Only

@TopShelf-MSFT,

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

View solution in original post

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 356 members 4,785 guests
Please welcome our newest community members: