Announcements
Hello,
I have a question!
Is it possible to use variable in SUM?
I would like to use in last part.
Sum( cdsdata, variable )
thank you for your help!
Hi @Anonymous
There is no way that I know of unfortunately to pass a variable to the last part of SUM. This function expects hardcoded values.
You could post this in the ideas forum, where there are similar posts about storing references to datasources/fields in variables.https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas
Thank you!
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 236 Super User 2026 Season 2
WarrenBelz 207 Most Valuable Professional
Mohsin Ali 169