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

donnadonut
Level: Powered On

Re: Needing dropdown with blank

Thank you @RezaDorrani! Smiley Happy

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 337 members 3,927 guests
Please welcome our newest community members: