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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors