Forum Discussion
Anonymous
3 years agoNot applicable
Monthly Average that Changes Based on Date Selection
Hi everyone, I have my monthy average measure for my Sales found in my fSales table, but I need to ammend it so that is automatically averaging based on what dates I am currently filtering/includ...
- 3 years ago
Hi,
This measure pattern should work
Average monthly sales = AVERAGEX(VALUES(ddate[Month name]),[Total sales])
I have assumed that Total sales is a measure that you have written. To your slicer, drag Month name from the ddate table.
Ritaf1983
Super User
3 years agoHi Anonymous
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523