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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Standish
Frequent Visitor

Display Rollup Total at Row Level - Matrix Visual

Hi, I have a data model as shown below.

I am trying to show a rollup of calls by employee.

 

Standish_0-1646402124880.png

Standish_1-1646402288763.png

 

The desired result would look like:

(#1) No Reporting Chain Level selected

Standish_2-1646402479995.png

 

(#2) Select Senior from Reporting Chain level slicer

See Jessica's calls and the sum of calls for all employees reporting into Jessica.
I'm defining an employee reporting into Jessica as Jessica being present in "ReportingChainLevel2" column in Employees table.

Standish_3-1646402673960.png

 

 

I have tried using a measure like below but it doesn't produce the desired result.

CALCULATE (
    SUM ('Employee Calls'[Num. Calls] ) ,
    ALLEXCEPT(ReportingChainLevels,ReportingChainLevels[ReportingChainLevel])
)

 

I'm open to all suggestions.

Thank you. 

 

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @Standish 

I've checked your expected result and it's possible to achievable. But we need a sample file to write the dax code, could you share it? Thanks.

 

Best Regards,

Community Support Team _Tang

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

amitchandak
Super User
Super User

@Standish , refer if this can help

https://www.kasperonbi.com/use-isinscope-to-get-the-right-hierarchy-level-in-dax/

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors