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 Apps
Answered

Filter data table

(0) ShareShare
ReportReport
Posted on by 23

Hey,

I have a data table connected to CDS Users.

In this data table i have an attribute "Windows live ID".

 

I want to filter this particular column such that "Windows live id" = xxxxxxxxx@hp.com

 other data like : xxxxxxxx@HP.onmicrosoft.com should not be present in this column.

 

Inkedusecase_LI.jpg

 

Please help!

Thank you

Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @portalweb 

    Try this code in the Items property of the data table.  It will exclude any emails ending in onmicrosoft.com.

     

    Filter(your_datasource_name, !(“onmicrosoft.com” in ‘Windows Live ID’))

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Hi,

     

    If you want to ONLY show items that end with @hp.com, you can use the EndsWith function:

     

    Filter(DataSource, EndsWith( 'Windows Live ID', "@hp.com" ) );

     

    This will only show entries that end with that specific text,

     

    @mdevaney 's idea will also work, however the caveat to that is if you have any other addresses on there that arent hp.com and arent onmicrosoft.com then it will show those too 🙂

     

    Cheers,

    Sancho 

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 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard