cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
donnadonut
Level: Powered On

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
Dual Super User
Dual Super User

Re: Needing dropdown with blank

Hi @donnadonut 

 

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
Dual Super User
Dual Super User

Re: Needing dropdown with blank

Hi @donnadonut 

 

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

Highlighted
donnadonut
Level: Powered On

Re: Needing dropdown with blank

Thank you @RezaDorrani! 🙂

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (7,348)