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),"#.##")
)
)
"