Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
I have a table with a number by person by date. I want to calculate the average for current month/month(s) previous.
I've tried 2 calculations, neither work:
Understand the preference is to provide a pbix file. I unfortunately am not able to do that. Appreciate any help anyone is willing to provide without pbix files. I am very close to getting to what I need, but am missing something small I think..
Solved! Go to Solution.
@kressb - Are these calculated columns or measures? Look like calculated columns. Try:
Average#MTD= AVERAGEX(Filter(Table,Table[Date].[Date]<=EARLIER(Table[Date].[Date] && [Name]=EARLIER(Table[Name])),Table[Number])
@kressb - Are these calculated columns or measures? Look like calculated columns. Try:
Average#MTD= AVERAGEX(Filter(Table,Table[Date].[Date]<=EARLIER(Table[Date].[Date] && [Name]=EARLIER(Table[Name])),Table[Number])
Yepp! That did it - THANK YOU very much for the help!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |