Forum Discussion
DataDiva
8 years agoAdvocate II
Help with calculation
I'm trying to calculate average occupancy rate for a set of hospitals. The formula I have right now is: Avg IP Occupancy Rate = 'Calcs'[IP Patient Days]/calculate([Days in Period],ALLSELECTED('vwCH...
- 8 years ago
I figured out the problem! It had to do with having a one-way filter relationship instead of a cross-filter (two-way) relationship. As soon as I fixed that, the measure calculated correctly. Thank you!
v-piga-msft
8 years agoResident Rockstar
Hi DataDiva,
Based on your description, I have known your desired output.
If it is convenient, could you share a dummy pbix file which can reproduce the scenario, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)
Best Regards,
Cherry
DataDiva
8 years agoAdvocate II
I figured out the problem! It had to do with having a one-way filter relationship instead of a cross-filter (two-way) relationship. As soon as I fixed that, the measure calculated correctly. Thank you!