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
Anonymous
Not applicable

How to dynamically add a subtotal column that contains multiple aggregation functions in a matrix

Hi all,

 

I want to add a subtotal row in a matrix visual. It would be an easy task if all the rows have the same aggregation function, but in my case, some rows have average and weighted average besides the default sum function. I don't have a great experience in DAX, so please help me with this.

 

Thank you in advance

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , you can replace subtotals using isinscope

 

example 

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

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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

Top Solution Authors
Top Kudoed Authors