Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I need help with getting the average per month over several years. Instead of the total I need it to be the average.
I have a measure of total. and a Date table. But I can't figure out how to get the average.
Solved! Go to Solution.
@khenneke , Try a measure like below with help from date table
Cumm = CALCULATE(averageX(values('Date'[Month Year]),calculate(SUM(Sales[Sales Amount]))) ,filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@khenneke , Try a measure like below with help from date table
Cumm = CALCULATE(averageX(values('Date'[Month Year]),calculate(SUM(Sales[Sales Amount]))) ,filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
User | Count |
---|---|
98 | |
90 | |
77 | |
71 | |
64 |
User | Count |
---|---|
115 | |
102 | |
98 | |
71 | |
67 |