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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
MarcinZ
New Member

Column subtotal calculation

Hi,

 

I would like to change the way the subtotal in MAD April coulmn is calculated. All rows in MAD April column are calculated correct because it  should be Absolute value from Sales-forecast April column. The total for this column is  ot correct because it should be SUM of all rows, not absolute value of total from Sales-forecast April column.

MarcinZ_0-1652044531689.png

 

Is there any way to change the calculation way for subtotal row? 

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

Hi, @MarcinZ ;

You could use INISCOPE(),such as:

Measure = IF(ISINSCOPE('financials'[Country]),IF(ISINSCOPE('financials'[Product]),-[sales1],2),0)

vyalanwumsft_0-1652232698510.png

You can change the values according to your own files,if don't success, you could Create a simple example with no sensitive information and similar to your table, and share the results you want to output.


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

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @MarcinZ ;

You could use INISCOPE(),such as:

Measure = IF(ISINSCOPE('financials'[Country]),IF(ISINSCOPE('financials'[Product]),-[sales1],2),0)

vyalanwumsft_0-1652232698510.png

You can change the values according to your own files,if don't success, you could Create a simple example with no sensitive information and similar to your table, and share the results you want to output.


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

MarcinZ
New Member

Hi,

Unfortunatelly I can not share my file. 

Do you have any advice how to fix this issue? 

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/

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.