Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Good day,
I am looking for a measure where i can average the last 3 months revenue, excluding the most current month. I want to compare July revenue to an average of April, May & June revenue. I do have a separate date table.
the measure i tried was:
Revenue 3 Mo Rolling Avg = CALCULATE([TotalRevenue],DATESINPERIOD(DateDim[Date],LASTDATE(DateDim[Date]),-3,MONTH))/3
This measure gives me the average for May, June and July. Any ideas?
Thank you!
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |