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.

View solution in original post

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

View solution in original post

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.

View solution in original post

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

View solution in original post

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
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,761)