cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

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
Highlighted
Community Support
Community Support

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.

View solution in original post

Highlighted
Helper II
Helper II

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

View solution in original post

3 REPLIES 3
Highlighted
Community Support
Community Support

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.

View solution in original post

Highlighted
Helper II
Helper II

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

View solution in original post

Highlighted
Community Support
Community Support

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (11,496)