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 / Named Formulas Gallery...
Power Apps
Unanswered

Named Formulas Gallery Items Question

(0) ShareShare
ReportReport
Posted on by 628

I've noticed that when I setup a named formula to filter a datasource then set a gallerie's Items to said datasource that the named formula is not invoked...

 

Example

 

NamedFormula = Sort(Filter(DataSource, Item.GUID = OtherNamedFormula.GUID, 'Created On', Ascending);

 

If I plug in NamedFormula to a gallery it simply "won't invoke" for a lack of a better way of saying it.

 

My question is, am I using named formulas incorrectly or should this work?

Categories:
I have the same question (0)
  • ShantanuP Profile Picture
    on at

    Does this expression work if you use it on gallery without using NamedFormula?

     

    For example,

    Gallery.Items = Sort(Filter(DataSource, Item.GUID = <OtherNamedFormulaExpression>.GUID, 'Created On', Ascending);

  • dlprentice Profile Picture
    628 on at

    Yes, perfectly.

     

    I did a bit of messing around and so the initial gallery items load but if I try to patch or formsubmit data then updates aren't displayed when using the named formula (even a datasource refresh doesn't work). Hopefully this makes sense, works on app load, but updates aren't reflected if using the named formula.

     

    Think: Adding or updating records in the target datasource. When the items property of the gallery is a named formula in this case, changes to the datasource are not reflected in the gallery items output.

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard