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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Rabelo
Frequent Visitor

Have a trouble: need to subtotal all lines, except .INDICADORES. Is that possible ?

Rabelo_1-1659213791303.png

 

Is it possible to define wich kind of data to SUBTOTAL in a matrix ?

In this case, I'd like that all .INDICADORES data sholud't SUBTOTAL.

Thanks so much !! 😅

6 REPLIES 6
Anonymous
Not applicable

Hi @Rabelo ,

 

Pleae try this measure:

subtotal =
IF (
    ISINSCOPE ( 'table'[subrow] ),
    SUM ( 'table'[value] ),
    CALCULATE (
        SUM ( 'table'[value] ),
        FILTER ( ALLSELECTED ( 'table' ), 'table'[subrow] <> ".INDICADORES" )
    )
)

 

Best Regards,

Jay 

Thks so much!!! 

I've decided to avoid this aproach ... better separate in 2 differente tables and 2 matrixes.

Best Regards!!!

Ashish_Mathur
Super User
Super User

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thks so much!!! 

I've decided to avoid this aproach ... better separate in 2 differente tables and 2 matrixes.

Best Regards!!!

tamerj1
Super User
Super User

Hi @Rabelo 

yes possible. Please clarify exactly the filter contrxt of this matrix. Which columns and which tables. Sample data would be greatly hepful to create a sample file for you. Thank you

Thks so much!!! 

I've decided to avoid this aproach ... better separate in 2 differente tables and 2 matrixes.

Best Regards!!!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors