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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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