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 / dropdown depend on ano...
Power Apps
Unanswered

dropdown depend on another dropdown

(0) ShareShare
ReportReport
Posted on by 106

i'm trying to filter dropdown items.. 1st dropdown consist of majorpoint which is related to checkpoint table's majorpoint.. now i need to display only checkpoints which belongs to major point selected in 1st dropdown...

i tried below formula but i'm getting error in = symbol saying that invalid argument...

 

formula : Distinct(Filter('Check Points','Major point'=DataCardValue22.Selected.'Major Point ID'),'Check Point')

 

please help me.. 

 

 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at

    What is the relationship between the major point and major point Id, are the the same?

    Distinct(Filter('Check Points','Major point'=DataCardValue22.Selected.'Major Point ID')),'Check Point')

     

    Distinct(Filter('Check Points','Major point' in DataCardValue22.Selected.'Major Point ID'),'Check Point')

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Abhilash M abi Profile Picture
    106 on at

    Yes, major point and major point id are the same.. major point in check point table represents foreign key to major point id in major point table..

     

    when i used "in" instead of "=" then major point id is marked as error...

     

     

  • eka24 Profile Picture
    20,925 on at

    Can you show what you have on the first dropdown DataCardValue22

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • askondo Profile Picture
    Microsoft Employee on at

    Can you write the following formula? Does this solve the error?

     

    Distinct(Filter('Check Points','Major point'.'Major Point ID'=DataCardValue22.Selected.'Major Point ID')),'Check Point')

  • Abhilash M abi Profile Picture
    106 on at

    i tried your sugession.. no errors but it is not displaying any data in 2nd dropdown

      

  • eka24 Profile Picture
    20,925 on at

    Can you show what you have on the first dropdown DataCardValue22 (formula on the Dropdown)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Abhilash M abi Profile Picture
    106 on at

    Choices([@'Assign Tasks'].systvs_Majorpoint) this is formula on 1st dropdown

     

    Screenshot (37).png
  • eka24 Profile Picture
    20,925 on at

    There should be a relationship between the tables in the first and the second table.

     

    First Table:

    Choices([@'Assign Tasks'].systvs_Majorpoint)

     

    Second table:

    Distinct(Filter('Check Points','Major point'=DataCardValue22.Selected.'Major Point ID'),'Check Point')

     

    Can you try:

    Distinct(Filter('Check Points','Major point'=DataCardValue22.Selected.systvs_Majorpoint),'Check Point')

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Abhilash M abi Profile Picture
    106 on at

    tried with your suggesson... again "=" is showing error invalid argument type

  • WarrenBelz Profile Picture
    154,930 Most Valuable Professional on at

    Hi @Abhilash ,

    Try

    Distinct(
     Filter(
     'Check Points',
     'Major point'.Value=DataCardValue22.Selected.Value
     ),
     'Check Point'
    )

     

    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.

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard