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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.