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 / Dataverse delegation i...
Power Apps
Answered

Dataverse delegation issue using Text() and =

(0) ShareShare
ReportReport
Posted on by 15

Hi, guys, hope you can help on this one. I have a fomula similar to the one below:

 

Set(

currentMonthExpenses,
Sum(
Filter(
ExpenseHistories,
Text(
ExpenseDate,
"mmmm-yyyy"
) = Text(
Today(),
"mmmm-yyyy"
)
),
ExpenseTotal
)
);

I am using Dataverse and based on https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/connections/connection-common-data-service#power-apps-delegable-functions-and-operations-for-dataverse Text values and (=) can be delegated, however, I am getting issues with the Text

EdGandalf_1-1686756110100.png

and the Filter [Which might be due to Text?]:

EdGandalf_0-1686756047800.png

Is this because I am using Text on a Date field [ExpenseDate] within a Filter? Not sure how else to compare these couple of dates other than as text based on this specific format. Thank you!

Categories:
  • Verified answer
    BCBuizer Profile Picture
    22,899 Super User 2026 Season 2 on at

    Hi @EdGandalf ,

     

    In this case you are confusing Text values with the Text() function. Unfortunately using the latter in a filter condition causes delegation issues as you mentioned at the end of your post.

     

    Does leaving out the Text function impact the result of the formula?

     

     

    Set(
    	currentMonthExpenses,
    	Sum(
    	Filter(
    		ExpenseHistories,
    		ExpenseDate = Today()
    	),
    	ExpenseTotal
    	)
    );

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard