web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Drop-down blank field ...
Power Apps
Unanswered

Drop-down blank field how-to from Excel table, How to get Office365User additional field

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I hope it is not a problem to ask multiple things in one post.

1. I have an excel list with 4 columns (approver_name, approver_jobtitle,approver_email,approver_dept)

In the Excel table (called Table3) under the header the first line is empty then coming the names.

I have tried several version (sort, clearcollect etc) but wasn't able to make blank as default.

With the Collect-Clearcollect the drop-down field was empty.

 

2. I would like to pull out from our system a field called User ID (this is not equal with the Office365.ID what is available in the current setup. This information is stored (cannot explain better, if i open Delve and under View profile - Additional informaton. Can i get that information somehow?

 

3. I have also read lot of articles, guides etc, but couldn't solve it.

I have several fields (textinput, dropdown etc) what i would like to make required, but not sure how to.

 

I hope you can help me with these.

Thank you in advance

 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    Hi @Anonymous,

    Could you please share a bit more about your scenario?

    Do you create an app based on your Excel table?

    Further, could you please share a screenshot about your app's configuration?

     

    For your first question, do you want to set the blank value as the default value within the Drop down control?

    If the first row within your Excel table is empty, please take a try with the following workaround:

    Set the OnVisible property of the first screen of your app to following:

    ClearCollect(
     RecordsCollection,
     First(YourExcelTable),
     Filter(YourExcelTable, approver_name <> Blank())
    )

    Or

    ClearCollect(
     RecordsCollection,
     Filter(YourExcelTable, approver_name = Blank()),
     Filter(YourExcelTable, approver_name <> Blank())
    )

    Then type the following formula within the Items proeprty of the Drop down control:

    RecordsCollection.approver_name

    For your second question, could you please share a bit more about the User ID that you mentioned? Based on the needs that you mentioned, I think you want to pull out the User ID value based on some conditions. I think the LookUp function and Filter function could achieve your needs in PowerApps.

    More details about LookUp function and Filter function, please check the following article:

    LookUp function, Filter function

     

    For your third question, do these several fields that you mentioned existed within a Edit form? If these several fields that you mentioned existed within a Edit form, I think the Required proeprty of the corresponding Data cards relaetd to these fields within the Edit form could achieve your needs.

    Please set the Required property of the corresponding Data cards related to these fields (within the Edit form) to following:

    true

    If these several fields that you mentioned are not existed within a Edit form, I think the If function and IsBlank function could achieve your needs. Please take a try with the following formula:

    If(
    !IsBlank(DataCardValue1.Text) && IsBlank(DataCardValue2.Selected.Value) && ... ,
    Perform the logic you want to do
    )

    Best regards,

  • Community Power Platform Member Profile Picture
    on at

    Hi v-xida-msft,

     

    Thank you for the reply.

    The second is not relevant anymore, we will try to use SQL database with another solution.

    Thanks for the tip for the 3rd, i will have a look.

     

    However i have tested the 1st and it is not working, it is getting empty the field, but the list is empty, nothing coming up.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard