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 Apps
Answered

Delagation Sum

(0) ShareShare
ReportReport
Posted on by 5

I have this code and I hope you can help me improve it and that the delegation is not generated:

 

"With(

    {

        StartDate: Date(

            Year(Today()),

            Month(Today())-3, // cambiar numero

            Day(Today())

        )+1,

        EndDate: Date(

            Year(Today()),

            Month(Today())-2, // Cambiar numero

            Day(Today())

        )   

    },

    Sum(

        Filter(

    'Gasto Combustible',

    IsBlank(ComboBox_Inncode.SelectedItems) || IsEmpty(ComboBox_Inncode.SelectedItems) ||

    Inncode = ComboBox_Inncode.Selected.Value, 

    Fecha >= StartDate,

    Fecha <= EndDate

        ),

        Text(Value(Monto_USD),"#.##")

    )

)

"

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @ppenag78 ,

     

    Could you please tell me what Monto_USD is ? If it is a text column, the formula can't be delegable.

     

    Best Regard,

    Bof

  • ppenag78 Profile Picture
    5 on at

    Hi @v-bofeng-msft , Monto_USD is a number column, is the column I want to use to sum the result is this (attached)Screen Shot 2023-06-14 at 7.59.53 AM.png

  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @ppenag78 ,

     

    Please try:

    With(
     {
     StartDate:Date(Year(Today()),Month(Today())-3,Day(Today()))+1,
     EndDate: Date(Year(Today()),Month(Today())-2,Day(Today())) 
     },
    	Text(
     Sum(
     Filter(
    		 'Gasto Combustible',
     IsBlank(ComboBox_Inncode.SelectedItems) || IsEmpty(ComboBox_Inncode.SelectedItems) ||
     Inncode = ComboBox_Inncode.Selected.Value, Fecha >= StartDate,Fecha <= EndDate
     ),
     Monto_USD
     ),"#.##")
    
    )

    Best Regards,

    Bof

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 839

#2
Valantis Profile Picture

Valantis 533

#3
Haque Profile Picture

Haque 412

Last 30 days Overall leaderboard