Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
How can I write Dax that will give me the average of Quarter 1's numbers below?:
It's tricky because when using the AVERAGE function, I'm not allowed to select my [Retention] measure for some reason, so I've been trying to find another way to calculate this and have so it is always calculating the average retention for the previous quarter.
Solved! Go to Solution.
Try AVERAGEX, something like:
Measure = AVERAGEX(FILTER('Table',[Year]=2018 && [Quarter]="Qtr 1"),[Retention])
Try AVERAGEX, something like:
Measure = AVERAGEX(FILTER('Table',[Year]=2018 && [Quarter]="Qtr 1"),[Retention])
@Greg_Deckler Would this work the same if the dates I'm referencing are from a different table? The date columns come from a Date table while the retention comes from my fact table. Sorry, forgot to clarify that part.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 52 | |
| 47 | |
| 43 | |
| 36 | |
| 33 |