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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

problem in removing Subtotal

01.JPG

I have used the below formula for removing the Subtotals. But for Company with single row the subtotal is not removing.

Similarly for the CAP_TYPE column if 2 rows has large then the TOTAL is large. it should be empty.

 

Formula for removing Sub_Total is 

M_O/S SHARES (m) = IF(HASONEVALUE('Merge2-Used for Earnings Monitor Tbale Format'[Os_Shrs_m]), VALUES('Merge2-Used for Earnings Monitor Tbale Format'[Os_Shrs_m]), BLANK())

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please create the measures as below to work on it.

A = IF([M_CAP TYPE] = "Large",1,0)
A1 = SUMX('Merge2-Used for Earnings Monitor Tbale Format',[A])
A2 = IF(ISINSCOPE('Merge2-Used for Earnings Monitor Tbale Format'[CONAME]),[M_CAP TYPE],IF([A1]>=2,"Large",BLANK()))

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

6 REPLIES 6
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please create the measures as below to work on it.

A = IF([M_CAP TYPE] = "Large",1,0)
A1 = SUMX('Merge2-Used for Earnings Monitor Tbale Format',[A])
A2 = IF(ISINSCOPE('Merge2-Used for Earnings Monitor Tbale Format'[CONAME]),[M_CAP TYPE],IF([A1]>=2,"Large",BLANK()))

Capture.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

If and ISINCOPE function should help you in your scenario. Kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable
Anonymous
Not applicable

@Anonymous  Please select matrix click on format pane and turn off the row subtotal optionSubtotal.png

Anonymous
Not applicable

@Anonymous  i need Subtotal for limited column. so that is why i am removing subtotal for the columns which i needed.

vjnvinod
Impactful Individual
Impactful Individual

 

@Anonymous 

use "table" instead of "Matrix" (from the visualization pane)

if the data is loaded like this, then use power query and remove those rows

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.