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 arrayed SQL col...
Power Apps
Answered

Filter arrayed SQL column in PowerApp

(0) ShareShare
ReportReport
Posted on by 19

Hi everyone,

 

i am tring to figure out how to filter a SQL Table column, which have array of values, based on Label on Canvas App.

Gallery below has SQL table as a Datasouce, and i would like to filter based on the column(ColumnA) where has array of numbers.

On the Canvas app, LabelA has dynamic values where it can be one of the number on ColumnA.

i used "Startwith", it is working if the number on LabelA is 73928189 but doesn't work if the number is "616258804" is there anyway i can do overcome this problem please?

Filter(SQLDB,startswith(ColumnA,LabelA.Text))

Untitled.png

Thansk

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Raif8522 ,

     

    You could try 

    Filter(SQLDB,LabelA.Text in ColumnA)

     

    In addition, cause 'in' is not delegable , this formula is not delegable. If the number of records in SQLDB is more than 500 and less than 2000 , please set the data row limit to 2000.

    vbofengmsft_0-1654839195453.png

     

    If the number of records in SQLDB is more than 2000, then starting from the 2001st record, all subsequent records cannot be obtained.

     

    Best Regards,

    Bof

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 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard