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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Atl
Helper I
Helper I

Hierarchy levels (nodes) display issue in power bi desktop

Hello everyone,

 My power bi desktop is getting data from the attached excel file. I am using matrix visual. Please look at my report output. Revenue is showing in three different levels because Subcategory, ParentCategory and GrandParentCategory all have the same value. How do i display only one revenue node if all Subcategory, ParentCategory and GrandParentCategory all have the same value. I do still need to display all four nodes operating expenses, practice operating expenses, personnel costs and employee taxes & benefits since they all have different values. I do have access to a master excel file so if changing excel is easier then i can do it in excel or i can do it in power bi if easier there. I already tried leaving values blank but empty rows(nodes) still showing up.  Please help.  

4 REPLIES 4
Anonymous
Not applicable

Hi @Atl 

 

There are design differences between Excel and Power BI, let me get as close as possible to the results you expect.

 

Create a measure.

 

DisplayRevenue = 
IF (
    SELECTEDVALUE('Table'[Subcategory]) = SELECTEDVALUE('Table'[ParentCategory]) &&
    SELECTEDVALUE('Table'[ParentCategory]) = SELECTEDVALUE('Table'[GrandParentCategory]),
    IF(
        ISINSCOPE('Table'[GLCATEGORY]),
        SUM('Table'[SSGLACCOUNTIDOTHER]),
        BLANK()
    ),
    SUM('Table'[SSGLACCOUNTIDOTHER])
)

 

vnuocmsft_0-1738553552485.png

 

Here is the result.

 

vnuocmsft_1-1738553585398.png

 

If this does not meet your requirements, I suggest you adjust the table structure in Excel and then import it into Power BI Desktop for use.

 

Regards,

Nono Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous , Thank you for trying but i think you misunderstood. please review my post and screenshots again. Best,

Atl
Helper I
Helper I

DWGLACCOUNTIDSSGLACCOUNTIDSSGLACCOUNTIDOTHERGLCATEGORYRECORDCOUNTSubcategoryParentCategoryGrandParentCategory
23|40640650600Employee Taxes & Benefits1Personnel CostsPractice Operating ExpensesOperating Expenses
23|41641660050Occupancy Expense1Practice Operating ExpensesPractice Operating ExpensesOperating Expenses
23|42042060250Occupancy Expense1Practice Operating ExpensesPractice Operating ExpensesOperating Expenses
23|585850050Employee Salaries & Wages1Personnel CostsPractice Operating ExpensesOperating Expenses
23|85885850230Employee Salaries & Wages1Personnel CostsPractice Operating ExpensesOperating Expenses
23|87787765210Marketing1Other OpexPractice Operating ExpensesOperating Expenses
23|45145163200All Other Expenses1Other OpexPractice Operating ExpensesOperating Expenses
23|50350366050All Other Expenses1Other OpexPractice Operating ExpensesOperating Expenses
23|37237240160Patient Net Revenue1RevenueRevenueRevenue
23|36836840120Patient Net Revenue1RevenueRevenueRevenue
23|59059078400Depreciation & Amortization1Operating ExpensesOperating ExpensesOperating Expenses
23|59759782100Other Revenue1RevenueRevenueRevenue
23|59659682050Other Revenue1RevenueRevenueRevenue
Atl
Helper I
Helper I

2025-01-31 10_29_32-Downloads.png2025-01-31 10_28_25-Untitled - Power BI Desktop.png

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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