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 / filter function didn't...
Power Apps
Answered

filter function didn't work properly

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi All

Might be in this forum can help my issue in power apps.

 

Its bit strange , The issue happened yesterday.

my filter function didn't work properly. only new item in the list get impact.

 

my coding below

 

Spoiler (Highlight to read)

SortByColumns(Filter('Approval History', 'Doc Number'.Id= EditedId), "ApprovalStage")

 

'Doc Number'.id is from SharePoint list.

SortByColumns(Filter('Approval History', 'Doc Number'.Id= EditedId), "ApprovalStage") 'Doc Number'.id is from SharePoint list.

 

 

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a bit more about the 'Doc Number' column in your SP List? Is it a LookUp type column?

    Could you please show more details about the "EditedId"? Is it a variable or a column?

     

    If the 'Doc Number' column is a LookUp type column, please consider modify your formula as below:

    SortByColumns(
     Filter('Approval History', 'Doc Number'.Value = "Specific value xxxx"), 
     "ApprovalStage"
    )

     

    If the EditedId is a variable, please check if it is populated with proper value.

     

    Best regards,

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard