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 / Create multi search page
Power Apps
Unanswered

Create multi search page

(0) ShareShare
ReportReport
Posted on by 37

Hi,

 

I have created an app for collecting sales lead in PowerApp. The database is SQL Server Express Edition.

 

I want to create a page where any user can search by inputing multiple items. I am using the following formula on Item of the galary:

 

 

  Filter(
       Filter(
          Filter('[dbo].[LeadTable]',
                StartsWith(Follow_Up_Date,srchFolloupDate.SelectedDate)
                 ),
          StartsWith(Lead_Owner,srchLeadOwner.Text)
           ),
       StartsWith(Lead_Status, srchLeadStatus.Selected.Value)
   )

 

 

 

where: '[dbo].[LeadTable]' = Sales Lead data table

,srchFolloupDate = Power App date picker

,srchLeadOwner = input box for lead owner

,srchLeadStatus = drop down for lead status

 

The app is not accepting the formula. Please help.

 

Thanks,

Vivek

Categories:
I have the same question (0)
  • bdodu Profile Picture
    399 on at

    The line:

     

    StartsWith(Follow_Up_Date,srchFolloupDate.SelectedDate)

    is not correct as StartsWith expects text and you provided a Date value (selectedDate)

    you have to format it as Text with

    StartsWith(Follow_Up_Date,Text(srchFolloupDate.SelectedDate, <<format>>))


    where <<format>> is more detailed here: Date To Text

  • vranjan22 Profile Picture
    37 on at

    Hi @bdodu

     

     

    Thank you for your response.

     

    I applied your suggestion, but it still giving me the error.

     

      Filter(
           Filter(
              Filter('[dbo].[LeadTable]',
                    StartsWith(Follow_Up_Date,Text(srchFolloupDate.SelectedDate,"[$-en-US]dd/mm/yyyy"))
                     ),
              StartsWith(Lead_Owner,srchLeadOwner.Text)
               ),
           StartsWith(Lead_Status, srchLeadStatus.Selected.Value)
       )

     

    Please advise.

  • bdodu Profile Picture
    399 on at

    ok what is the error or what words are red underlined by PA?

  • vranjan22 Profile Picture
    37 on at

    @bdodu

     

    The error is on date filter:

     

    The function 'StartsWith' has some invalid argument

    Invalid argument (DateTime). Expecting a Text value instead

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 385

#2
Vish WR Profile Picture

Vish WR 367

#3
timl Profile Picture

timl 340 Super User 2026 Season 1

Last 30 days Overall leaderboard