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 / SEARCH WORDS IN TXT FILE
Power Apps
Answered

SEARCH WORDS IN TXT FILE

(0) ShareShare
ReportReport
Posted on by

Hi,

 

My text file uploaded in sharepoint folder and able to show in the power app. However, I'm trying to search some key word (predefined) and show me count of the words.

 

any idea how we could do this?

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    154,447 Most Valuable Professional on at

    Hi @PRABA7385 ,

    This is a complete workaround, but put this on a Label and your text as the Default of a Text box

    With(
     {
     wSource: Lower(YourTextFileBox.Text),
     wSearch: Lower(YourSearchBox.Text)
     },
     CountRows(
     Split(
     wSource,
     wSearch
     ).Result
     ) - 1
    )

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard