Forum Discussion
Calculate Average based on time filter selected
Anonymous ,
You can create a measure using dax below:
Avg = CALCULATE(AVERAGE('Table'[IDs]), ALLSELECTED('Table'[Date]))
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for getting back v-yuta-msft !
I want to exclude weekends from my average calculation. Will that function work in that case ?
- Anonymous7 years agoNot applicable
I should probably rephrase my problem to make it clearer v-yuta-msft
My original dataset includes transactions settled during business days only (we call it settle dates)Following instructions from other post, I create a calendar table and build daily/weekly/monthly average measures based on the count of work days in that calendar. These measure work well if they stand alone but will break if I put in a time slicer. Will very much appreciate any help