Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am a newbie in power Bi | |||||
unit head | employees | Days worked | Total | Daily Average | |
Ana | alice | 2 | 88 | 44 | |
eliza | 2 | 40 | 20 | ||
ancy | 1 | 4 | 2 | ||
ali | 3 | 124 | 62 | ||
Ami | rose | 3 | 80 | 40 | |
rob | 2 | 60 | 30 | ||
rom | 1 | 8 | 4 | ||
The answer is supposed to be like this | |||||
Unit head | employees | Days worked | Total | Daily Average | Daily_avg_manager |
Ana | alice | 2 | 88 | 44 | 32 |
eliza | 2 | 40 | 20 | ||
ancy | 1 | 4 | 2 | ||
ali | 3 | 124 | 62 | ||
Ami | rose | 3 | 80 | 40 | 24.67 |
rob | 2 | 60 | 30 | ||
rom | 1 | 8 | 4 |
Hi @Anjaly
You can change you table like this:
Then create a measure
Measure = AVERAGE('Table'[Daily Average])
Best Regards,
Xinru Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you for the response. It won't work since 'Daily Average' is a measure.
This is what I got:
Two ways I calculated. still did not correct answer
This is what I got:
actual result
Thank you so much for the solution. Total and days worked are measures . I got an error message like'column table 'total' in query 1 can not be found. Any idea how to resolve it.
i got another error when slightly changed the formula
sum([Total])/sum([Days worked]). The sum function only accepts a column reference as the argumentnumber1
hi @Anjaly
you can plot a table visual with the unit head column and a measure like this:
AvgByHead =
DIVIDE(
SUM(TableName[Total]),
SUM(TableName[Days worked])
)
verified and it worked like this:
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |