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

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

Reply
Anonymous
Not applicable

Total measure for YTD values not calculating correctly in a table

Hi all,

 

For each reporting period I have YTD sales volumes, which I try to "reverse" back to monthly periodic amounts.

 

This measure seems to work, however the Total column in a table somehow sums up all of the YTD amounts for each month together and does not seem to sum up the individually calculated amounts per period from my measure:

 

I am very new to PowerBI and measures and not sure as to why the total does not sum the calculated amounts per month together? 

Does anyone have an idea how to improve this measure so that the total column is also working? The measure itself works fine per month to display the monthly periodic volume instead of YTD.

1.PNG

1 REPLY 1
Anonymous
Not applicable

Edit:

 

1: The "Volume Number YTD" measure is like this:

Volume number YTD = CALCULATE(sum('Fact Stock data'[Volume]);Datetable;Datetable[Date])

 

2: I use the "isolated per month" measure to calculate an average also. And somehow when selecting one month, the average works fine. But when not selecting any month, the average is suddenly way lower, probably because of the same issue where the total volumes for the average are much higher than they should be.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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