Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
jslaws02
Frequent Visitor

Matrix Help

Thank you in advance.

 

I have a dataset with the following relationships:

jslaws02_1-1706108426049.png

 

 

and I'm trying to create a matrix that will have a Heirarchy of Cost Type > Account Name/Subcontractor Classification. That is to say if the Cost Type is Subcontractor, I'd like to show the Subcontractor Classification, but if the cost type is anything else then I'd like to show the Account Name. I'm looking for suggestions on how to create this 2nd level of the heirarchy with the tables shown above.

3 REPLIES 3
uelber
New Member

If you are looking to compare actual against budget, you want to make sure the relationships between the tables are set up correctly. Also, you want to consider the granularity between the budget and the ledger tables. For example, if the budget data is at a monthly level and the ledger data is at a daily level, you need to ensure that the aggregation in the matrix makes sense for both.

uelber
New Member

Hello! Hello! \o/

 

One option to achieve this would be creating a new calculated column in the Ledger table that decides whether to show the Account Name or the Subcontractor Classification. In the example below, I'm calling the new column Second Level, please make sure to give it a proper name. Also, please remember that calculated columns will add up in the storage size.


I hope that helps.

 

uelber_0-1706111199215.png

 



When I use this column in my matrix along with values from the budget table (see diagram above) I get a slew of duplicate values.

jslaws02_1-1706191283784.png

 

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Kudoed Authors