Forum Discussion
DataDiva
Advocate II
8 years agoHelp 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
Resident Rockstar
8 years agoHi 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
Advocate II
8 years agoI 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!