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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
RobbeVL
Impactful Individual
Impactful Individual

Average per month

Hi all,

 

Below I added a screenshot of the total amount of orders per users, per month.

What I would like to calculate is the average number of orders per month per user 

for example taking the first row in the screenshot:

 

(taking months in slicer into account, or starting from March in this case)

22+19+19+19+18+16 = 113/ 6 = 18.83

 

I hope you can help me out!

2017-08-31_13-49-52.jpg

 

 

 

 

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@RobbeVL,

 

You may consider using UNION Function to add a calculated table first.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

You could do something like this to get the total amount of orders for selected months:

 

Calculate(SUM(Table[Orders]), ALLSELECTED(Table[Months]))

 

This will get you an overall sum of orders for the months selected. Do the same to get the count of orders for all months and divide the two numbers.

RobbeVL
Impactful Individual
Impactful Individual

 

@Anonymous

I cant seem to get it to work 😕
Anyone able to help in this example file below?


https://www.dropbox.com/s/47qbl4f5vquzw3o/DatamodelParcify_CSV_RobbeUpload.pbix?dl=0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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