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 / Stuck on cascading dro...
Power Apps
Unanswered

Stuck on cascading dropdown which is fetching data from collection

(1) ShareShare
ReportReport
Posted on by 207

Hi Experts,

I am working on a scenario like 3 dropdowns in landing page which should interact each other based on the data in sharepoint list.

DineshK__1-1721037807732.png

Earlier it was 2 dropdown (text type columns) and it was working fine , now i am adding another dropdown Offer type which is choices type column. So I am Stuck on this dropdown task which is fetching data from collection.

Data Source : SharePoint List

 

Collection :

ClearCollect
(
    offertype,
    {Value:"All"}
);
Collect(
    offertype,
    Sort(Distinct(Choices('Delivery Updates'.'Offer Type'),Value),Value,SortOrder.Ascending)
);
 
Dropdown :
If(
    Dropdown1_1.SelectedText.Value = "All" Or IsBlank(Dropdown1_1.SelectedText),
    offertype,
    Filter(
        offertype,
        Value in (Filter('Delivery Updates','Portfolio Head'=Dropdown1_1.SelectedText.Value
        )
        .'Offer Type') Or Value = "All"
    )
)
 
Issue :
DineshK__0-1721037622257.png

 

Offer Type column is a choice type column , so i am suspecting this logic in the formula.

Please help to achieve this.

 

Thanks

DK

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @DineshK_ 

     

    this video:

    How to create Cascading (Dependent) Dropdowns in Power Apps (youtube.com)

     

    helped me a lot when i began with cascading drop downs.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • WarrenBelz Profile Picture
    155,415 Most Valuable Professional on at

    Hi @DineshK_ ,

    Firstly you can make the collection a bit more efficient

    ClearCollect(
     offertype,
     ["All"],
     Sort(
     Distinct(
     Choices('Delivery Updates'.'Offer Type'),
     Value
     ),
     Value,
     SortOrder.Ascending
     )
    );

    but the main issue here is the name of the field in offertype that you are trying to filter with (replace YourFieldName below)

    With(
     {
     _Data:
     Filter(
     'Delivery Updates',
     'Portfolio Head' = Dropdown1_1.SelectedText.Value
     )
     },
     Filter(
     offertype,
     Dropdown1_1.Selected.Value = "All" || 
     Len(Dropdown1_1.Selected.Value) = 0 ||
     YourFieldName in _Data.'Offer Type'
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • DineshK_ Profile Picture
    207 on at

    @WarrenBelz  Thanks for your solution 🙂

    I can see the below error still on the dropdown fx .

     

    DineshK__0-1721048579613.png

    Collection :

    DineshK__1-1721048608565.png

    I think it may be related to choice type column in Offer Type ?

  • WarrenBelz Profile Picture
    155,415 Most Valuable Professional on at

    @DineshK_ ,

     If it is a Choice column, you need offerType.Value

  • DineshK_ Profile Picture
    207 on at

    @WarrenBelz  In which line pls ?

     

    With(
       {
          _Data:
          Filter(
             'Delivery Updates',
             'Portfolio Head' = Dropdown1_1.SelectedText.Value
          )
       },
       Filter(
          offertype,
          Dropdown1_1.Selected.Value = "All" ||
          Len(Dropdown1_1.Selected.Value) = 0 ||
          offertype in _Data.'Offer Type'
       )
    )
           

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 846

#2
Valantis Profile Picture

Valantis 532

#3
Haque Profile Picture

Haque 410

Last 30 days Overall leaderboard