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 / Filtering data in Comb...
Power Apps
Unanswered

Filtering data in Combobox based on User Email

(0) ShareShare
ReportReport
Posted on by 675

Hi,

In the below pic,

freshyshreya_1-1667301142096.png

The Items Value shown is for a ComboBox.  I want to filter the values based on User Email.

For Example-

If User Email= shreya@abc.com then United States and Canada should get filtered as Country Values from the list and so on..

 

The formula which I am trying to put is not working correctly.Please help!

 

Categories:
  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Your problem is in the Country.Value.   What type of column is Country?

  • freshyshreya Profile Picture
    675 on at

    Hi @JR-BejeweledOne ,

     

    Country Value is a Single Line of Text in the SharePoint List.

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Try changing your formula.  Because Country is a single line of text field, you don't need .Value after it.

     

    If(User().Email = "shreya@abc.com", Filter('Zenith Test3', Country = "United States"), User().Email = "aguilar@abc.com", Filter('Zenith Test3', Country = "Qatar"))

     

  • freshyshreya Profile Picture
    675 on at

    Hi @JR-BejeweledOne ,

    freshyshreya_0-1667303897276.png

    I removed .Value,still there is no value coming up in the ComboBox,though the formula does not show any error.

    Please help!

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Please share your items property for the ComboBox

  • freshyshreya Profile Picture
    675 on at

    Hi @JR-BejeweledOne ,

    Sharing the items property for the ComboBox below,

    freshyshreya_0-1667304236626.png

    Thanks!

  • freshyshreya Profile Picture
    675 on at

    Hi @JR-BejeweledOne ,

    I tried the below formula as well,still nothing is appearing in the ComboBox.

    freshyshreya_0-1667307467512.png

    Please help!

     

     

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Two things, you will want to add a default setting and you need to check the DataPane for the Combobox and make sure it's displaying the column you want displayed.   See the image below.  Make sure you have selected the country field.

     

    If(User().Email = "shreya@abc.com", Filter('Zenith Test3', Country = "United States"), User().Email = "aguilar@abc.com", Filter('Zenith Test3', Country = "Qatar"), Country)

     

    CBField.jpg

  • freshyshreya Profile Picture
    675 on at

    Hi @JR-BejeweledOne ,

     

    The formula is working perfectly fine now.

     

    Just need one more clarification from you.In the pic below(marked as 1,2,3,4)

    freshyshreya_1-1667317311900.png

     

    I want to show activity ID status value(2) for the selected country(1) only. I have put the formula and changed the values accordingly in 3 & 4,but the value is not appearing.

     

    Activity ID is a lookup column in SharePoint.Please help me in putting the right formula!

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    Did you check your data pane and make sure you have selected the right column to display in the 'Edit field' section?

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
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard