Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I would like to calculate the average of the monthly data obtained from some daily data. I don't want the daily accumulated data to be displayed, but to obtain the monthly average of all the data.
When I apply the daily filter, I have the correct value but when I apply the monthly filter it shows me the accumulation of all days.
Thanks in advance for your help
Solved! Go to Solution.
@Anonymous , Try like
Avg Sales = CALCULATE(Averagex(Values('Date'[Date]) , calculate(SUM(Sales[Sales Amount]))) ,DATESMTD('Date'[Date]))
I have solved it by changing the dates of the month that was giving me problems.
Thanks @amitchandak .
I got the following error when I used this measure. That's happening only during the month of september.
Do you know why I have this error?
I have solved it by changing the dates of the month that was giving me problems.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |