web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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

I have the same question (0)
  • DC-23050752-0 Profile Picture
    4 on at
     
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans