web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add Columns (powerapps...
Power Apps
Unanswered

Add Columns (powerapps for makers)

(0) ShareShare
ReportReport
Posted on by 17

Michael22902290_0-1665014357359.png

I have SharePoint list with an app name and open_count.
and a gallery using powerapps for makers.


Each time an app is opened from my gallery, this list is patched and updated to reflect the count it has been opened.

 

 

My app returns a list off all the apps in our environment 

Michael22902290_1-1665014488503.png

 

Sort(
Filter(
AddColumns(
PowerAppsforMakers.GetApps().value,"Open_Count",LookUp(Dashboard_Apps_Favorites,properties.displayName=App_Name_sp).Open_Count),
properties.userAppMetadata.includeInAppsList=true
&& StartsWith(properties.displayName,App_Search_1.Text)
&& properties.displayName<>"GCHHS PowerApps Dashboard")
,Open_Count
,Ascending)

 

 

 

I'm trying to add the open count as a new column. and then sort the list so the app with the highest open count comes to the top of the gallery.

 

 

the fx is not complaining but its not sorting and "thisitem.open_count" when placed in a label does not return anything but the column is available.

 

please help 🙂

 

 

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Michael22902290 ,

     

    After a quick look, there are two points.

    1\ You want to sort the list so the app with the highest open count comes to the top of the gallery but in your formula you use the Ascending as the third parameter of the sort function.

    I think you should use Descending instead of Ascending.

    vxiaochenmsft_0-1665038485582.png

     

    2\ You said that the thisitem.open_count has no value in lable, So I guess the filter function returned empty table.

    In other words, there is no item meet the filter criteria. Please check it.

     

    Best Regards,

    Wearsky

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard