The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
5 |
User | Count |
---|---|
25 | |
13 | |
12 | |
8 | |
8 |