Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi, when calculating the monthly sales average, shouldn't it be calculated as total sales amount / number of days? why is powerBI calculating this way?
Solved! Go to Solution.
Hello,
By default, it will put the average sales amount of that month, if you want to use the diary monthly average, you will have to create a measure to sum the monthly sales, and then, divide it by the number of days.
Hi @Anonymous ,
In addition, if you need to calculate the average by day, you can create measure using codes below .
Average by day= DIVIDE(SUM([Sale Amount]),CALCULATE(COUNT(Table1[Date]), FILTER(ALLSELECTED(Table1), YEAR(Table1[Date]) =YEAR(MAX(Table1[Date]))&&MONTH(Table1[Date]) =MONTH(MAX(Table1[Date])))))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi @Anonymous ,
In addition, if you need to calculate the average by day, you can create measure using codes below .
Average by day= DIVIDE(SUM([Sale Amount]),CALCULATE(COUNT(Table1[Date]), FILTER(ALLSELECTED(Table1), YEAR(Table1[Date]) =YEAR(MAX(Table1[Date]))&&MONTH(Table1[Date]) =MONTH(MAX(Table1[Date])))))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello,
By default, it will put the average sales amount of that month, if you want to use the diary monthly average, you will have to create a measure to sum the monthly sales, and then, divide it by the number of days.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
59 | |
53 | |
52 | |
36 | |
33 |
User | Count |
---|---|
80 | |
73 | |
45 | |
45 | |
43 |