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 a Datacardvalue...
Power Apps
Unanswered

Filter a Datacardvalue depending on another Datacardvalue's first letters?

(0) ShareShare
ReportReport
Posted on by 12

What is the best way to filter a Datacardvalue depending on another Datavardvalue's first letter?

Example: If someone selects in Dropdown 1 -> "A Subject", then just all options in Dropdown 2  with the first letter "A" should be displayed.->"AAA subsubject1", "AAA subject 2" etc..

 

The data from both drop downs comes from term sets which I push with a flow to a collection. The data is filtered according to their path 

 

 

 

Filter(YourTermCollection1, Path="Dokumenttyp;Core")

 

 

 

 

Cascading drop downs do not work as it is a term set with a lot of data, so I guess a filter would be somehow possible?

 

I tried:

 

 

 

Filter(YourTermCollection1, Path="Dokumenttyp;Core" , Left(ComboBox5.Selected.Value,1)in YourTermCollection2, Path="Dokumenttyp;Element")

 

 

 

 But it does not work...

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Dimi365 

    The following should work and is delegatable too:

     

    Filter(YourTermCollection1, StartsWith(YourTermCollection2,Left(ComboBox5.Selected.Value,1
     )&& 
     Path="Dokumenttyp;Core" && 
     Path="Dokumenttyp;Element"
    )
     
    
    

     

     

  • Dimi365 Profile Picture
    12 on at

    Thanks for the suggestion. I somehow get the error: "Invalid argument type (Table). Expecting a Text Value instead" Location is the combobox where the filter is applied

     

    And why are both paths combined? 

     

    Path="Dokumenttyp;Core" && 
     Path="Dokumenttyp;Element"

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard