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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Default values not dis...
Power Apps
Answered

Default values not displaying in dropdown controls

(0) ShareShare
ReportReport
Posted on by 95

Hi All, I want to display default values from sharepoint list and written the code in default property and it displaying default value on right side pane and also showing the expected result when we select the code.

 

 

If(CountRows(Filter(colUserPrefer,MailID=User().Email).Group)>=1, LookUp(colUserPrefer,MailID=User().Email).Group)

BKGOUD_0-1599546270098.png

 

But it was not displayed on the drop-down control.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @BKGOUD ,

    Are you wanting to display a list of Group matching the User's email? Try this

    With(
     {
     wMail:
     Filter(
     colUserPrefer,
     MailID=User().Email
     )
     },
     If(
     CountRows(wMail)>=1,
     wMail.Group
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • BKGOUD Profile Picture
    95 on at

    @WarrenBelzThanks for your help.

     

    I used the same code but getting the error as Expected text value.

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @BKGOUD ,

    What type of field is MailID in your data?

  • BKGOUD Profile Picture
    95 on at

    @WarrenBelz  Single line of Text.

  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    @BKGOUD ,

    What is expecting a text value and where are you putting this code?

  • Verified answer
    WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @BKGOUD ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard