cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
aboodhamwi
Level: Powered On

Mmultiple levels of many-to-one relationship expansion aren't supported

Hi,

 

Recently I start getting this message in filters that were build before, in my case I'm trying to load the Price List Items of a selected price list, but the error will show

 ClearCollect(
        SelectedPriceListItems,
        Filter(
            [@'Price List Items'],
            'Price List'.'Price List' = PriceListId
        )
    );

image.png

last week the app was working perfectly, but suddenly this issue started

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support Team
Community Support Team

Re: Mmultiple levels of many-to-one relationship expansion aren't supported

Hi @aboodhamwi ,

Could you please share a bit more about the 'Price List' column in your 'Price List Items' Entity? Is it the LookUp type column (generated by Many-to-One relationship)?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:1.JPG

 

2.JPG

The 'Normal Contact' column is a LookUp field in my TaskLists Entity, which references records from Contacts Entity. Add a Gallery within my app, set the Items property to following:

Filter(TaskLists, 'Normal Contact'.Contact = ComboBox1.Selected.Contact)

the records displayed well in my Gallery as above.

 

Please check if the result the PriceListId variable returns is the 'Unique Identifier' column value in your 'Price List' Entity. On your side, you could consider add a ComboBox in your app, set the Items property to following:

'Price List'         /* <-- Type your 'Price List' Entity data source here */

set the SelectMultiple property of the ComboBox to false.

then add a Button in your app, set the OnSelect property to following formula:

ClearCollect(
        SelectedPriceListItems,
        Filter(
            [@'Price List Items'],
            'Price List'.'Price List' = ComboBox1.Selected.'Price List'
        )
)

Note: I assume that the 'Price List' is the 'Unique Identifier' column in your 'Price List' Entity.

Please press above button, then check if the SelectedPriceListItems collection is populated with proper records.

 

If the issue still exists, please consider re-generate an app based on your 'Price List Items' Entity, then try above solution again, check if the issue is fixed.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
aboodhamwi
Level: Powered On

Re: Mmultiple levels of many-to-one relationship expansion aren't supported

Hi,

 

The Price list consider a parent for the price list item and the relation is one-to-many, but as what I was saying the app was working perfectly, and suddenly this issue shows up, I was using PowerApps studio inside chrome browser, once I open the app in Edge the issue disappeared totaly, and I was able to publish my app without changing anything and it did work fine

3 REPLIES 3
Community Support Team
Community Support Team

Re: Mmultiple levels of many-to-one relationship expansion aren't supported

Hi @aboodhamwi ,

Could you please share a bit more about the 'Price List' column in your 'Price List Items' Entity? Is it the LookUp type column (generated by Many-to-One relationship)?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. The screenshot as below:1.JPG

 

2.JPG

The 'Normal Contact' column is a LookUp field in my TaskLists Entity, which references records from Contacts Entity. Add a Gallery within my app, set the Items property to following:

Filter(TaskLists, 'Normal Contact'.Contact = ComboBox1.Selected.Contact)

the records displayed well in my Gallery as above.

 

Please check if the result the PriceListId variable returns is the 'Unique Identifier' column value in your 'Price List' Entity. On your side, you could consider add a ComboBox in your app, set the Items property to following:

'Price List'         /* <-- Type your 'Price List' Entity data source here */

set the SelectMultiple property of the ComboBox to false.

then add a Button in your app, set the OnSelect property to following formula:

ClearCollect(
        SelectedPriceListItems,
        Filter(
            [@'Price List Items'],
            'Price List'.'Price List' = ComboBox1.Selected.'Price List'
        )
)

Note: I assume that the 'Price List' is the 'Unique Identifier' column in your 'Price List' Entity.

Please press above button, then check if the SelectedPriceListItems collection is populated with proper records.

 

If the issue still exists, please consider re-generate an app based on your 'Price List Items' Entity, then try above solution again, check if the issue is fixed.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
aboodhamwi
Level: Powered On

Re: Mmultiple levels of many-to-one relationship expansion aren't supported

Hi,

 

The Price list consider a parent for the price list item and the relation is one-to-many, but as what I was saying the app was working perfectly, and suddenly this issue shows up, I was using PowerApps studio inside chrome browser, once I open the app in Edge the issue disappeared totaly, and I was able to publish my app without changing anything and it did work fine

Community Support Team
Community Support Team

Re: Mmultiple levels of many-to-one relationship expansion aren't supported

Hi @aboodhamwi ,

Have you solved your problem?

 

If you have solved your problem, please go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

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

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Top Community Contributors for September  2019

Top Community Contributors for September 2019 🎉🎉

Let's thank our top community contributors

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Users Online
Currently online: 550 members 5,827 guests
Please welcome our newest community members: