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 / Filtering lookup colum...
Power Apps
Answered

Filtering lookup column is not saved

(0) ShareShare
ReportReport
Posted on by 35

Hi All,

 

I'm trying to set a filter on my lookup column on a SharePoint list form. 

 

The formula is the following:

Filter(Classifications, Category in "Availability").Title

 

The filtering is working, but when I click to save, nothing happens in the lookup field, the old value remains there.

 

What should I change to make it work?

 

Thank you

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Purman0 Try this,

    Filter(Choices(Classifications.Category), Value="Availability")
  • Purman0 Profile Picture
    35 on at

    Thank you @CNT , unfortunately it gives an error:pic.png

    Should I change something?

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Purman0 It looks like the Column Name "Category" is wrong. Could you check that. If yous till get an error please let me what error it is.

  • Purman0 Profile Picture
    35 on at

    @CNT 

     

    Please find below the field properties (from the Classifications list):

    cat.png


    @CNT wrote:

    @Purman0 It looks like the Column Name "Category" is wrong. Could you check that. If yous till get an error please let me what error it is.


     

  • Verified answer
    Purman0 Profile Picture
    35 on at

    I found the solution, the items property for the lookup dropdown is the following:

    Filter(Classifications, Category = "Availability")

     

    While the Update property of the datacard had to be changed to the following from DataCardValue17.Selected to the following formula:

    If(
    !IsBlank(DataCardValue17),
    (
    {
    '@odata.type': "Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
    Id:DataCardValue17.Selected.ID,
    Value: DataCardValue17.Selected.Classification}))

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard