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! Request now

Reply
msantillan
Helper II
Helper II

Measure Formulas shouldn't apply to row subtotals

Hi, was wondering if there was a way where Measure forumlas won't apply to row subtotals.

 

I have this measure: 

IF([Measure 6]<>0,CALCULATE((([Measure 5]*[Measure 6])/10000)),0)
 
However, it seems that the row totals are also affected as seen below, when I only want it applied to the values. Whiles the subtotals should only be the sum of all values: 
Pic1PBI.PNG
 
This is what the value should be like:
pic2pbi.PNG
 
Please help.
1 ACCEPTED SOLUTION

Hi , @msantillan 

May be you can refer to this article:

https://community.powerbi.com/t5/Desktop/Calculation-for-subtotal-row/m-p/927590

 

Best Regards,
Community Support Team _ Eason
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

4 REPLIES 4
v-easonf-msft
Community Support
Community Support

Hi , @msantillan 

 

Could you please tell me whether your problem has been solved?
If it is,  please mark the helpful replies or add your reply as Answered to close this thread?

 

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

amitchandak
Super User
Super User

Use isfiltered or hasonevalue to control the same

https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak Can you please help me on how I can implement it on my measure? Thanks

Hi , @msantillan 

May be you can refer to this article:

https://community.powerbi.com/t5/Desktop/Calculation-for-subtotal-row/m-p/927590

 

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors