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
dancarr22
Helper V
Helper V

How to make subtotals and totals (re)calculate a measure - instead of SUM/AVG

Hello,

 

We have a custom viz which calculates the difference between fields - it works properly within the grid.  This is similar to the standard matrix viz.
But, for totals and subtotals --when the 'Value' field is a measure and needs to be recalc'ed - it only has the option to SUM/AVG - we need it to recalc the measure.  What settings are needed to accomplish this?

Greatly appreciate any help you can provide.

 

Thanks,

Dan

2 REPLIES 2
dm-p
Super User
Super User

Hi @dancarr22,

Without seeing the visual code, it's going to be difficult to assist. Is it possible to share your code (or the portion of the code that's causing you issues) so we can take a look?

Thanks,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Hi @DM  - thanks for your response.  I'll try to get the code from our outside consultant.

 

Thanks,

Dan

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