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
Hi
I need to add data labels with monthly average to this serie. The visual represents daily values but my client wants only the monthly ones on it. Do you have any idea?
Regards
You may need a measure for this, like :
# Orders last 30 days =
CALCULATE (
COUNT ( 'Orders'[OrderKey] ) / 30;
USERELATIONSHIP ( 'Date'[Date]; 'Orders'[Date] );
DATESINPERIOD ( 'Date'[Date]; LASTDATE ( 'Orders'[Date] ); -30; DAY )
Sorry @Anonymous, but... what happens with 28, 29 and 31 days months?
Thanks
It was an example how to calculate average over x days. For months you can use something like:
AvgLast1Month = CALCULATE(AVERAGE(Orders[amount]),DATESINPERIOD(Orders[Date],LASTDATE(Orders[Date]),-1,MONTH))/1
AvgLast3Months = CALCULATE(AVERAGE(Orders[amount]),DATESINPERIOD(Orders[Date],LASTDATE(Orders[Date]),-3,MONTH))/3
etc.
Hope this will help you.
Kind regards
@Anonymous,
You may use date hierarchy and take advantage of drill down.
https://docs.microsoft.com/en-us/power-bi/guided-learning/visualizations#step-18
Sorry @v-chuncz-msft, but I think thast this solution doesn't fit. It will show monthly serie with monthly average values. I need dairy serie with monthly average values.
Thanks anyway.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |