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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Twilla
Helper I
Helper I

Don't want Row totals to change with drill down (Matrix)

Hi all,

 

I am using the Matrix that is in Preview. I have several row levels to drill down. Year->Week ->Product categories. In the example below you see year 2012 week 7 and categories 12,13,... The subtotals and grand total all show the same values which are the sum of the other rows. However I would like that the subtotal for the year 2010 shows the sum over all weeks and not just week 7, even when I drill down to week 7. I would also like that the grand total stays the sum of all values,  and doesn't adapt when I drill down.

 

Does someone know if this is possible? If so could you explain me how to do so? Thanks

QuestionCommunity.jpg

Cheers, Twilla

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Twilla,

 

Currently, it is not possible to achieve your requirement that keep the total row values no matter whether we apply filters to matrix. As you can see, the detailed rows, as well as total rows will be filtered automatically based on the selection.

 

As a workaround, you can create a measure which returns the sum over all weeks for each year.

Total value =
CALCULATE ( SUM ( Sheet1[Sales] ), ALLEXCEPT ( Sheet1, Sheet1[Date].[Year] ) )

3.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yulgu-msft
Employee
Employee

Hi @Twilla,

 

Currently, it is not possible to achieve your requirement that keep the total row values no matter whether we apply filters to matrix. As you can see, the detailed rows, as well as total rows will be filtered automatically based on the selection.

 

As a workaround, you can create a measure which returns the sum over all weeks for each year.

Total value =
CALCULATE ( SUM ( Sheet1[Sales] ), ALLEXCEPT ( Sheet1, Sheet1[Date].[Year] ) )

3.PNG

 

Best regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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