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! Request now

Reply
Syndicate_Admin
Administrator
Administrator

Monthly average

Good afternoon community. I have reviewed several posts related to the issue of calculating the Monthly Average, I have implemented several of the formulas they have given, but it does not give me the correct results. I have this information:

LuisHQ1171_0-1654721033085.png

of those monthly totals, I need to take out the average sale for each month. I do it in a static way, verify it by doing the calculation on foot, and the result that throws me is correct, but it is not the idea of making it static, because if I make multiple selection of two or more months, it must give me the correct result and it does not.

LuisHQ1171_1-1654721143049.png

LuisHQ1171_3-1654721379956.png

In advance thank you for your help.

Best regards

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Ensure you have a Calendar table.  Create a slicer from the Year column of the Calendar Table and select 2022.  To your visual, drag Month name from the Calendar Table.  Write this measure

=divide([Total venta mensual],countrows(Calendar))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
Syndicate_Admin
Administrator
Administrator

Thank you very much, having known that the measure was simple, with your formula if I throw the correct averages.

Thankful, greetings

Ashish_Mathur
Super User
Super User

Ensure you have a Calendar table.  Create a slicer from the Year column of the Calendar Table and select 2022.  To your visual, drag Month name from the Calendar Table.  Write this measure

=divide([Total venta mensual],countrows(Calendar))

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks for the reply, but in case you want to average daily, for example Sales $, of each month, but with business days from Monday to Friday, Monday to Saturday and Monday to Sunday, how could I do it?

For the current month and closed months.

Thank you!

Hi,

Share some data to work with, explain the question and show the expected result.  Share data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thanks for responding. What I'm looking for is this:

gus_jr_0-1714104319492.png

In which I have created 2 measures (e.g. days Monday to Friday)

1 Business Days of the month: applies to closed months prior to the current one (current month April: 22 days)

2 Elapsed Business Days of the month: applies to unfinished month, i.e. current month (as of today 04/26: 20 days)

What I need is a daily average: divide by the 1 Business Days of the Month in previous months, already closed

y

divide by the 2 Past Business Hours of the Month in the current month, sales, profits, volumes, etc.

I hope I've been clear.

- Monday to Friday

Hi,

There is nothing i can understand there.  Someone who does will help you.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you anyway. Question is it because of the language, or do you not understand what I am trying to say?

Thank you!

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors