Forum Discussion
RyanJEngLegacy
3 years agoNew Member
Average Daily Census
Hello All,
I am fairly new to Power BI. I am trying to compute the Average Daily Census for a healthcare provider. We have a patient count per day which changes often but the importance would be the average over time. I am having trouble coming up with the DAX coding for that.
Any help would be greatly appreciated.
2 Replies
- RyanJEngLegacyNew Member
We have 21 branches so that calculation needs to be calculated for each
- amitchandakSuper User
RyanJEngLegacy , A measure like
AVERAGEX(Values(Table[branch]), calculate(AVERAGEX(values(Table[Date]), calculate(Sum(Table[Census])))))
or
AVERAGEX(Values(Table[branch]),[Average Daily Census measure])