Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

filter lookup column in form with value on another table

(0) ShareShare
ReportReport
Posted on by 129

Hi,

 

I'm using form to save value in my dataverse table and I use a lookup column in the form to select a value. This value must be filtered by a choice in the main table. I try to use this formula and I get a network error:

 

Filter('CRM - Commande'; 'Condition Facturation'.Activé = 'Activé (CRM - Paramètre Conditions)'.Activé)

 

How can I fix this ?

 

Regards,

Tom Victor

  • CU22100725-0 Profile Picture
    129 on at
    Re: filter lookup column in form with value on another table

    Hi @v-jefferni ,

     

    Thanks for your help, it work nicely !

     

    Regards,

    Tom Victor

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: filter lookup column in form with value on another table

    Hi @TomVictor ,

     

    Please check the choices column name in main table. It seems the formula could be as below because Activé is the choices column name:

    Filter('CRM - Paramètre Conditions'; Activé = 'Activé (CRM - Paramètre Conditions)'.Activé)

     

    BR,

  • CU22100725-0 Profile Picture
    129 on at
    Re: filter lookup column in form with value on another table

    Hi, @v-jefferni ,

     

    Sure there is ths error I get : 

     

    TomVictor_0-1687768179536.png

    Translation : "Error when trying to retrieve data from the network"

     

    Regards,

    Tom Victor

  • v-jefferni Profile Picture
    on at
    Re: filter lookup column in form with value on another table

    Hi @TomVictor ,

     

    Please share the whole error message. You can try and refresh the table connection first.

     

    BR,

  • CU22100725-0 Profile Picture
    129 on at
    Re: filter lookup column in form with value on another table

    Hi @v-jefferni ,

     

    I try to use your formula and I still have a Network error.

  • Verified answer
    v-jefferni Profile Picture
    on at
    Re: filter lookup column in form with value on another table

    Hi @TomVictor ,

     

    Please use below formula in Items property:

    Filter('CRM - Paramètre Conditions'; 'Condition Facturation' = 'Activé (CRM - Paramètre Conditions)'.Activé)

     

    In this formula, 'CRM - Paramètre Conditions' is the main table, 'Condition Facturation' is the choices column within main table.

     

    Best regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard