cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wackmack88
Level 8

LookUp column to filter a second column

Hi all,

I want to show a value in a lookup column. My forms have two lookup cascading columns from two lists.
When i have only 1 lookup column and i want to show the value from another column in the list, i always use this method what works fine:

 

 

"Example: " & LookUp(Source, Title = DataCardValue3.Selected.Value, Example)

 

 

As i said, this works for out of the box Lookup columns perfect. Now i have a cascading columns setup with a collection.

I think i need to make my collection creater so that i can filter later on that, is that correct?
Here is the setup for my cascading, this is on the OnSelect button

 

 

ClearCollect(
    collSchools,
    {
        Schools: Filter(
           Schools,
            Facility.Value = DataCardValue2.Selected.Value
        )
    }
)

 

 

This is on the item button from the second cascading column:

 

 

Filter(
    Choices(Testlist.School),
    Value in First(collSchools).School.Title
)

 

 


This doesn't work anymore:

 

 

"Second lookup:" & LookUp(
    School,
    Title = DataCardValue5.Selected.Value,
    Example
)

 

 

 

So i think i need to make my collection bigger and then later filter on the collection so i can use the value from the second column, is that right? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Wackmack88
Level 8

Re: LookUp column to filter a second column

"Example: " & LookUp(Source, Title = DataCardValue3.Selected.Value, Example)

 

This was the solution, cache was the problem 🙂

View solution in original post

1 REPLY 1
Highlighted
Wackmack88
Level 8

Re: LookUp column to filter a second column

"Example: " & LookUp(Source, Title = DataCardValue3.Selected.Value, Example)

 

This was the solution, cache was the problem 🙂

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,375)