cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Error when cascading third drop-down using one list

Hi All,

 

i need help in this issue please,

 

i have list with three text fields :

 

1- Title (Location)

2-  Building

3- Floor 

 

i've created PowerApp from this list and replace the textboxes with dropdowns to cascad them based on the previous value 

when i cescade the building based on title(location) it's work , but when i try to cascade the Floor based on Title and Building i got Untitled.png

any help wll be appriciated.

 

thank you in advace

Ammar

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-micsh-msft
Community Support
Community Support

Hi @Anonymous,

 

Could you please explain a bit for 'cascad' the three fields?

The error message means some property you have specified would affect its own value based on the selection, which is not supported.

The error message mostly would be caused by refering to the editng control itself. Please verify the control name and make sure the proper control is correctly added.

 

Based on my understanding, here are three dropdowns, with each configured to Title, Building and Floor, and the Building is filtered based on Title selected value, Floor is fitlered based on Title and Building selected value, right?

If this is the scenario, then we could work with the Dropdown items with the formula below:

1. For Title dropdown, items property should be:

Distinct(SharePointList, Ttile)

2. Building Dropdown items property should be:

Distinct(filter(SharePointList, Ttile=TitleDropdown.selected.value), Building)

3. Floor Dropdown, items property should be:

Distinct(
         Filter(SharePointList, 
                 Title=TitleDropdown.Selected.Value, 
                 Building=BuildingDropdown.Selected.Value), 
         Floor)

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Hi @Anonymous,

 

Could you please explain a bit for 'cascad' the three fields?

The error message means some property you have specified would affect its own value based on the selection, which is not supported.

The error message mostly would be caused by refering to the editng control itself. Please verify the control name and make sure the proper control is correctly added.

 

Based on my understanding, here are three dropdowns, with each configured to Title, Building and Floor, and the Building is filtered based on Title selected value, Floor is fitlered based on Title and Building selected value, right?

If this is the scenario, then we could work with the Dropdown items with the formula below:

1. For Title dropdown, items property should be:

Distinct(SharePointList, Ttile)

2. Building Dropdown items property should be:

Distinct(filter(SharePointList, Ttile=TitleDropdown.selected.value), Building)

3. Floor Dropdown, items property should be:

Distinct(
         Filter(SharePointList, 
                 Title=TitleDropdown.Selected.Value, 
                 Building=BuildingDropdown.Selected.Value), 
         Floor)

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Anonymous
Not applicable

Thanks a lot Michael. this is worked with me. i was using && instead of comma.

 

cheers 🙂

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,826)