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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Named formula used as ...
Power Apps
Answered

Named formula used as collection

(0) ShareShare
ReportReport
Posted on by 72

Hi,

 

I have a Canvas application that utilizes Dataverse as a Datasource. I've established named formulas for Lookup and Choice fields with the intention of using them instead of Collections. However, upon monitoring, I've noticed that each time I open a form, the requests for lookup and choice fields go to the server (Dataverse) instead of retrieving from the cache, as it would with collections. Is this the anticipated behavior of named formulas or am I overlooking something.

 

Appreciate you response.

I have the same question (0)
  • ivan_apps Profile Picture
    2,189 Moderator on at

    Yes, named formulas are meant to auto-update when it detects something could have changed its values or a refresh is needed. It saves you from having outdated data cached in the app, and manually having to refresh to get the latest. It actually saves a lot of code writing since you don’t have to track state of cached data, as is the case when you load something OnStart.

  • Jitendra_FT Profile Picture
    72 on at

    Thanks @ivan_apps for your response.

     

    My requirement is, I have 15 lookup columns in a Dataverse table. I want to cache the Lookup column values from master tables as I know Master data won't change during user sessions, but Named formulas are making requests to the same master table(lookup) data each time User opens the form in the same session. I am sure there is no change in master data so it can't trigger auto-update of Named formula.

     

    Is Named Formulas always refresh automatically after 30 seconds even if there are no changes at source?

  • Verified answer
    ivan_apps Profile Picture
    2,189 Moderator on at

    It shouldn't be every 30 seconds but I can't recall the details. Are you worried about network traffic or are you working on low bandwidth? If not, it should not be an issue for refreshes as it won't affect the user experience.

     

    If you are worried about the network requests or low bandwidth environments, I would store that information into a global variable, either OnStart or on your start screen OnVisible, and don't refresh if that variable is not blank.

  • Jitendra_FT Profile Picture
    72 on at

    Yes, I'm worried about network requests and agree with your suggestion to cache data locally in global variable/collection.

     

    In case you have any reference available, what causes the Named formulas auto-update that would be helpful.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard