web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

ID filter

(0) ShareShare
ReportReport
Posted on by 176

Hello,
I have 2 galleries:
Adress

Filter('Compte client - adresse'; compte = varSelected.'ID (Title)')

 

Contact

Filter('Compte Client - contact'; Title = varSelected.Title)

 

1.png

1.png

 

in the dropdown (N °) of the contact gallery,
I wrote this formula but it shows all the results of the item ID.
I want the dropdown to only display the ID values linked to the account.

can you help me write the right code.

 

Distinct('Compte client - adresse'; ID)

 

 

 

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @Ben-00-38 ,

     

    I don't quite understand this sentence.

    v-xiaochen-msft_0-1620377258202.png

    What's account ? 

    What is the relationship between the ID of this record and account?

     

    Best Regards,

    Wearsky

  • Ben-00-38 Profile Picture
    176 on at

    in adress

    compte = thisitem.compte

    N° = thisitem.ID

     

    in contact

    N° display item ID of adress.

    i want filter with not all value, but only item ID = thisitem.compte

  • v-xiaochen-msft Profile Picture
    on at

    Hi @Ben-00-38 ,

     

    I still don't know your needs.

    What's your datasourse? Is it a sharepoint list?

    Is there any relationship between these two tables?

     

    In addition, I suggest you use some pictures to describe what you want the result to be.

     

    Best Regards,
    Wearsky

     

     

  • Ben-00-38 Profile Picture
    176 on at

    i want display in site relationship between ID adress and compte value

    2.png3.png

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Ben-00-38 ,

     

    So, if compte=3, do you want Dropdown to display 38, 48, 49 instead of 38, 42, 48, 49?

    If so ,you could try this formula on Items property of dropdown control:

    Filter('Compte client - adresse';compte= ThisItem.compte).ID

    If you want to remove duplicate values, you could use the Distinct function again.

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

  • Ben-00-38 Profile Picture
    176 on at

    thank you so much ! 😀

    Filter('Compte client - adresse';compte= ThisItem.Title).ID

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard