cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Needing dropdown with blank

Hi guys,

 

I really cannot figure this out so apologies if i'm being really silly here.

 

I have an HR app where line managers can log in and pull up thier delegates Performance Management Reviews.

 

On the line manager screen - the drop down is set up with the following formula Distinct(ShowColumns(Filter(colMyDirects,User().Email='Line Manager Name'), "Submitter"),Submitter).

This works for what i need it to do, however i would like a blank in the drop down to be the default.

 

I have managed to get the blanks to work on the HR screen like this

ClearCollect(colMyDirects,{Name:""});Collect(colMyDirects,Distinct('End Of Year Review',Submitter))

and then in the drop down i have

Sort(colMyDirects,Result).

 

So this is fine as it will pull all the users through for HR. But for the line manager screen i need it to use my formula above to be able to only show their direct reports.

 

If anyone has any suggestions i would be so grateful! Smiley Happy

 

Thanks

Donna

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: Needing dropdown with blank

Hi @Anonymous 

 

For line manager also create a collection and enter blank as

 

ClearCollect(colLineManager,{Result:""});Collect(colLineManager,Distinct(ShowColumns(Filter(colMyDirects,User().Email='Line Manager Name'), "Submitter"),Submitter))

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

2 REPLIES 2
Highlighted
Dual Super User
Dual Super User

Re: Needing dropdown with blank

Hi @Anonymous 

 

For line manager also create a collection and enter blank as

 

ClearCollect(colLineManager,{Result:""});Collect(colLineManager,Distinct(ShowColumns(Filter(colMyDirects,User().Email='Line Manager Name'), "Submitter"),Submitter))

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Anonymous
Not applicable

Re: Needing dropdown with blank

Thank you @RezaDorrani! 🙂

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,737)