Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
Unanswered

Named Formulas Gallery Items Question

(0) ShareShare
ReportReport
Posted on by 626

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:
  • dlprentice Profile Picture
    626 on at
    Re: Named Formulas Gallery Items Question

    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.

  • ShantanuP Profile Picture
    on at
    Re: Named Formulas Gallery Items Question

    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);

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 770 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 494

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 399

Featured topics