Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

PBI Matrix - many-to-many relationships

(1) ShareShare
ReportReport
Posted on by 4

I'm creating a PBI Matrix that compares the monthly budget and actual sales quantities and amounts, with 3 levels of products to drill down (Category > Product Group > Item). These are in different tables, I think I had linked them all, but the results are not showing correctly.

 

These are what each table contains:

1. 'Items' table from Business Central: the list of all items, used Data Groups to create a column called [Product Group], and used Conditional Column to create a column called [Category]. then created a hierarchy: Category > Product Group > Item

2. 'Sales' table from Excel: the actual sales quantities, it contains [Document No.], [Quantity] and [Item No.] - this 'Sales' [Item No.] has a many-to-one relationship with 'Items' [Item No.]

3. 'General Ledger' table from Business Central: the actual sales dates and amounts, used Conditional Column to create columns [Product] and [Category], a hierarchy is also created - 'General Ledger' [Document No.] has a many-to-many relationship with 'Sales' [Document No.], but many-to-many relationship can't be created between 'General Ledger' [Product] and 'Items' [Product Group]

4. 'Budget' table from Excel: budget sales quantities and amounts for each product (not the detailed items) - this 'Budget' [Product] has a one-to-many relationship with 'Items' [Product Group]

 

I've tried a few combinations, but the results I got only show either the correct budget figures or the correct actual figures, but not both on the same Matrix. I thought the problem was on the link between the Data Group and a column, so I tried creating a separate table to link them, but the result was the same.

 

I want to try changing the many-to-many relationships to one-to-many, but I can't think of how.

There can be multiple items in each invoice, so 'Sales' [Document No.] is not a distinct list. 'General Ledger' [Document No.] is not a distinct list either.

And how to build a relationship between the conditional column 'General Ledger' [Product] and 'Items' [Product Group]?

 

Thanks

  • DC-23050752-0 Profile Picture
    DC-23050752-0 4 on at
    PBI Matrix - many-to-many relationships
     
    Here is a sample.
    I can either show the correct Actual Sales or the correct Budget Sales, but not both on the same table because I can't create a relationship between General Ledger and the Budget table or the Item table.
     

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,622 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans