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
damj
Frequent Visitor

average from measure

Hi.

Hopefully someone can help me with this problem.

i have made a measure from the data table shown to the left.

the measure is simply made from the sum of sick days divided by the number of employes.

As an addition to  the measure, i want to be able to find the average of the circled number instead of the Total sum (ex 2,99)

 

Thank you in advance

 

 

damj_2-1667421822818.png

 

 

 

 

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @damj ;

You could try to change it.

vyalanwumsft_0-1667877425814.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @damj ;

You could try to change it.

vyalanwumsft_0-1667877425814.png


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-yalanwu-msft
Community Support
Community Support

Hi, @damj ;

You could try it.

Measure = 
AVERAGEX(SUMMARIZE('Table',[Date],[L evel],"1",
SUM('Table'[Sickdays])/AVERAGEA('Table'[NumberOfEmployes])),[1])

The final show:

vyalanwumsft_0-1667441121808.png

Or you could add more column in summarize which according to your need.

Measure = 
AVERAGEX(SUMMARIZE('Table',[Date],[L evel],[L evel]...,"1",
SUM('Table'[Sickdays])/AVERAGEA('Table'[NumberOfEmployes])),[1])


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HI v-yalanwu-msft

thank you for your solution, but i its like the column doesn't sum up according to days/month/year.

It puts out some data, but not the intended.

On the top right arrow - This is the expected data on the left and result from measure on the right.

The buttom arrow seems to average the total amount, but is wrong due to the last mentioned problem.

Although on your illustration it seems to be correct.

Hope you can help with my issue. 

 

damj_2-1667478228610.png

 

 

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.