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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Monthly average without accumulated

I would like to calculate the average of the monthly data obtained from some daily data. I don't want the daily accumulated data to be displayed, but to obtain the monthly average of all the data.


When I apply the daily filter, I have the correct value but when I apply the monthly filter it shows me the accumulation of all days.

 

Thanks in advance for your help

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous , Try like

 

Avg Sales = CALCULATE(Averagex(Values('Date'[Date]) , calculate(SUM(Sales[Sales Amount]))) ,DATESMTD('Date'[Date]))

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

View solution in original post

Anonymous
Not applicable

I have solved it by changing the dates of the month that was giving me problems.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thanks @amitchandak .

I got the following error when I used this measure. That's happening only during the month of september. 

claud2022_0-1643389121566.png

 

Do you know why I have this error?

Anonymous
Not applicable

I have solved it by changing the dates of the month that was giving me problems.

amitchandak
Super User
Super User

@Anonymous , Try like

 

Avg Sales = CALCULATE(Averagex(Values('Date'[Date]) , calculate(SUM(Sales[Sales Amount]))) ,DATESMTD('Date'[Date]))

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.