cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
P_SA
Helper V
Helper V

Avoid delegation warning.

Hi Experts, Can  someone help to avoid the delegation warning ? The datasource is dataverse. 

 

Here is the code snippet.

 

Thanks in advance.

 

P_SA_1-1633017426314.png

 

 

 

 

Search(
Filter(
DashboardViewTbls,
IsBlank(SkillsComboBox.SelectedItems.Result) ||IsEmpty(SkillsComboBox.SelectedItems) || SkillID in SkillsComboBox.SelectedItems ,
IsBlank(SkillTypeComboBox.SelectedItems.Result) ||IsEmpty(SkillTypeComboBox.SelectedItems) ||SkillTypeID=SkillTypeComboBox.Selected.Result,

IsBlank(ComboBox2.SelectedItems.JobFamilyID) ||IsEmpty(ComboBox2.SelectedItems) ||JobFamilyId in ComboBox2.SelectedItems,

IsBlank(YearofWorkExpComboBox.SelectedItems.Value) ||IsEmpty(YearofWorkExpComboBox.SelectedItems) ||
 TotalExpProf = Value(YearofWorkExpComboBox.Selected.Value)

Or YearofWorkExpComboBox.Selected.Value="1-5" And Value(TotalExpProf) >=1 And Value(TotalExpProf) <=5 
Or  YearofWorkExpComboBox.Selected.Value="6-10" And Value(TotalExpProf) >=6 And Value(TotalExpProf) <=10 
Or YearofWorkExpComboBox.Selected.Value="11-15" And Value(TotalExpProf) >=11 And Value(TotalExpProf) <=15 
Or  YearofWorkExpComboBox.Selected.Value="16-20" And Value(TotalExpProf) >=16 And Value(TotalExpProf) <=20 
Or YearofWorkExpComboBox.Selected.Value="21-25" And Value(TotalExpProf) >=21 And Value(TotalExpProf) <=25 
Or  YearofWorkExpComboBox.Selected.Value="26-30" And Value(TotalExpProf) >=26 And Value(TotalExpProf) <=30 
Or YearofWorkExpComboBox.Selected.Value="31-35" And Value(TotalExpProf) >=31 And Value(TotalExpProf) <=35 
Or  YearofWorkExpComboBox.Selected.Value="36-40" And Value(TotalExpProf) >=36 And Value(TotalExpProf) <=40 
),

TextInput1_1.Text,"crfa8_partynumber","crfa8_name","crfa8_skilltypeid","crfa8_skillid")

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
StalinPonnusamy
Community Champion
Community Champion

Hi @P_SA 

 

The code your shared looks incomplete. Anyway try this

With(
    {_item: DashboardViewTbls},
Search(
Filter(
_item
Rest your existing code

 

 

View solution in original post

3 REPLIES 3
StalinPonnusamy
Community Champion
Community Champion

Hi @P_SA 

 

The code your shared looks incomplete. Anyway try this

With(
    {_item: DashboardViewTbls},
Search(
Filter(
_item
Rest your existing code

 

 

View solution in original post

P_SA
Helper V
Helper V

With(
{_item: DashboardViewTbls},
Search(
Filter(
_item,
IsBlank(SkillsComboBox.SelectedItems.Result) ||IsEmpty(SkillsComboBox.SelectedItems) || SkillID in SkillsComboBox.SelectedItems ,
IsBlank(SkillTypeComboBox.SelectedItems.Result) ||IsEmpty(SkillTypeComboBox.SelectedItems) ||SkillTypeID=SkillTypeComboBox.Selected.Result,

IsBlank(ComboBox2.SelectedItems.JobFamilyID) ||IsEmpty(ComboBox2.SelectedItems) ||JobFamilyId in ComboBox2.SelectedItems,

IsBlank(YearofWorkExpComboBox.SelectedItems.Value) ||IsEmpty(YearofWorkExpComboBox.SelectedItems) ||
TotalExpProf = Value(YearofWorkExpComboBox.Selected.Value)
Or
YearofWorkExpComboBox.Selected.Value="1-5" And Value(TotalExpProf) >=1 And Value(TotalExpProf) <=5
Or YearofWorkExpComboBox.Selected.Value="6-10" And Value(TotalExpProf) >=6 And Value(TotalExpProf) <=10
Or YearofWorkExpComboBox.Selected.Value="11-15" And Value(TotalExpProf) >=11 And Value(TotalExpProf) <=15
Or YearofWorkExpComboBox.Selected.Value="16-20" And Value(TotalExpProf) >=16 And Value(TotalExpProf) <=20
Or YearofWorkExpComboBox.Selected.Value="21-25" And Value(TotalExpProf) >=21 And Value(TotalExpProf) <=25
Or YearofWorkExpComboBox.Selected.Value="26-30" And Value(TotalExpProf) >=26 And Value(TotalExpProf) <=30
Or YearofWorkExpComboBox.Selected.Value="31-35" And Value(TotalExpProf) >=31 And Value(TotalExpProf) <=35
Or YearofWorkExpComboBox.Selected.Value="36-40" And Value(TotalExpProf) >=36 And Value(TotalExpProf) <=40
),

TextInput1_1.Text,"crfa8_partynumber","crfa8_name"))

 

It worked. thanks

StalinPonnusamy
Community Champion
Community Champion

Hi @P_SA 

 

Good to hear

 

Please let us know if anything needs on your post. We can help with this.


Please do not forget to give kudos if you find the suggestion helpful or Accept it as a solution if works fine to help other users to find it useful.

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,486)