Forum Discussion
chfio
8 years agoRegular Visitor
Daily average
1) I have a dates column..example 1each Dates 1 3/5/2017 1 3/5/2017 ---- 2 instances on 3/5 1 3/9/2017 1 3/9/2017 1 3/9/2017 1 3/...
- 8 years ago
Hey,
unfortunately calculated tables used in the data model and not as a filter or input for other functions do not update depending on changes in a slicer selection, this is by design.
I created a little Power BI file that uses this measure
average no of rows per day = var maxSelectedDate = ALLSELECTED('Table1'[Date]) return AVERAGEX(maxSelectedDate ,CALCULATE(count('Table1'[RowID])) )this measure can used on card visual, the following screenshot shows that there are an average number of rows of 2.5 for both selected days (4 from 28th of August and 1 from 1st of September.
Hope this is what you're looking for.
Regards
chfio
8 years agoRegular Visitor
Ah. Perhaps i could read more carefully! You saved the day. thanks!
TomMartens
8 years agoSuper User
You're welcome, it's been a pleasure to safe your day.
My girlfiend sometimes says: I wish you would listen more carefully, guess both of us share a common issue :-)