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 / Cascading drop down on...
Power Apps
Answered

Cascading drop down on dataverse lookup column

(0) ShareShare
ReportReport
Posted on by 820

Hi

I have 2 tables in dataverse that i am currently working to implement a cascading lookup

'Work categories' and 'Work'

Table 'Work' has a lookup column from table 'Work categories' named Category.

Then i have a gallery.

In gallery i have 2 comboboxes. one is Work category another is Work. I want to make so when user selects a Work category so the combobox lists only these work items that are asociated with this work category.

 

What i did is in the Work categories combobox in Items property i put formula:

Distinct('Work categories','Category'). I selected field Result and it shows me correct result

 

on combobox  work in Items property i put formula:

Distinct(
Filter(
Work,
'Category'=ComboBoxDarbuGrupe.Selected.Result
),
'Work name'
)

 

This formula gives me an error"Incopatable types of comparison.These types can't be compared: Record,Text.

 

I guess this is due to Category being a lookup column. How do i write this formula correctly?

Categories:
I have the same question (0)
  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @jja ,

     

    Maybe you could try the following formula:

    Distinct(
    Filter(
    Work,
    'Category'.Category=ComboBoxDarbuGrupe.Selected.Result
    ),
    'Work name'
    )

    vyujincuimsft_0-1658137837229.png

    vyujincuimsft_1-1658138074570.png

     

     

    Best Regards,
    Charlie Choi

  • julijazas Profile Picture
    820 on at

    Hi @v-yujincui-msft 

    Yes it is correct. I was missing exactly this part you underlined

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,070

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 608

Last 30 days Overall leaderboard