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 / Export Double Filter N...
Power Apps
Unanswered

Export Double Filter Not Working with Text Search

(0) ShareShare
ReportReport
Posted on by 4

I've been trying to get a double filter when running a task to work but it only uses the first filter still, trying to sort by a drop down and then search for any text in the Title field.

 

ExportTaskEquipment.Run(
    "startswith(EquipmentType,'" & drpEquipmentChoice.SelectedText.Value & "') and '" & txtEquipmentFilter.Text in Title & "'",
    User().Email
);
 
The startswith runs just fine by the second part doesn't work but I have no errors, any help would be greatly appreciated. 
Categories:
I have the same question (0)
  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    Hi @MarkIsConfused 
    Try

    ExportTaskEquipment.Run(
     "startswith(EquipmentType,'" & drpEquipmentChoice.SelectedText.Value & "') and '" & txtEquipmentFilter.Text & "' in Title",
     User().Email
    );
  • MarkIsConfused Profile Picture
    4 on at

    Thanks DJ but no luck. No errors show up in power apps but it does fails when running the flow. 

  • DJ_Jamba Profile Picture
    2,837 Moderator on at

    Forgot this is an ODTA filter query!

    Correct way to check if a value is in a column, is: contains(Column, 'value')

    So could you give this a whirl and then let me know what Power automate receives? It should be:

    (startswith(EquipmentType, 'your value')) and (contains(Title, 'your value'))

    Throw it into a Context Var for now and check what's inside it.

    UpdateContext({varTemp: ExportTaskEquipment.Run(
     "("(startswith(EquipmentType, '" & drpEquipmentChoice.SelectedText.Value & "')) and (contains(Title, '" & txtEquipmentFilter.Text & "'))",User().Email)})

     

  • MarkIsConfused Profile Picture
    4 on at

    I got back varTemp (Boolean: true)

     

    MarkIsConfused_0-1710191809351.png

     

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

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard