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 / Delegation issue - Filter
Power Apps
Unanswered

Delegation issue - Filter

(0) ShareShare
ReportReport
Posted on by

Hello,

I'm having delegation problems with the filter applied with ComboBox1_2:

 

ClearCollect(
colFilteredDVTasks;
AddColumns(
AddColumns(
AddColumns(
AddColumns(
If(!IsBlank(cbm_Status_AllTasks.SelectedItems);

Filter(
ShLi_Tasks;
StartsWith(
Name;
TextInput1_4.Text
);
If(varCurrentLanguage="de";
'Task Status' in cbm_Status_AllTasks.SelectedItems;
'Task Status'in colStatusTasks);
If(CountRows(ComboBox1_2.SelectedItems)>0;ResponsibleMail in ComboBox1_2.SelectedItems.Mail;true)
);
Filter(
ShLi_Tasks;
StartsWith(
Name;
TextInput1_4.Text
);
If(CountRows(cmb_0_Responsible.SelectedItems)>0;ResponsibleMail in cmb_0_Responsible.SelectedItems.Mail;true)
)
);
"orderTitle";Order.Name);
"orderId";Order.OrderId);
"category";Order.Name);
"lvl";2)
);;
ClearCollect(
colFilteredOrders;
ForAll(Distinct(
colFilteredDVTasks;
orderId
); {Result: ThisRecord.Value})
);;

ForAll(
colFilteredOrders;
With(
{r: ThisRecord.Result};
Collect(
colFilteredDVTasks;
{
orderTitle:LookUp(colFilteredDVTasks;orderId=r).orderId & " - " &
If(!IsBlank(LookUp(ShLi_Orders;OrderId=r).Category.Name);LookUp(ShLi_Orders;OrderId=r).Category.Name;"/") & " - " &
LookUp(colFilteredDVTasks;orderId=r).orderTitle;
orderId: LookUp(colFilteredDVTasks;orderId=r).orderId;
lvl: 1
}
)
)
)

 Does anyone have any idea how to fix it?

 

Thanks in advance

Categories:
I have the same question (0)
  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @aorro933  - What data source are you using?

  • aorro933 Profile Picture
    on at

    Hi, 

     

    The datasource is Dataverse and collections made from that data. 

     

    Regards

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard