Forum Discussion

mgaut341's avatar
mgaut341
Helper II
1 year ago

Problem with visits per patients

I am creating a table and wanting to include the number of visits completed per patients in each calendar year. However, when I do 

Visits per patient =
DIVIDE('New Appointment_Fact'[Appointment Completed Numerator], 'New Appointment_Fact'[patientid])
it gives me the wrong visits per patients number. 
For example, for CY23 if I divide 9981 / 3455 the visits per patient should be 2.89, not 3.84 as it shows up. Any ideas on what is wrong?

2 Replies

  • _AAndrade's avatar
    _AAndrade
    Resident Rockstar

    Hi mgaut341,

    To could help you, I need more details. Could you please share a pbix file with sample data so I can take a look?

    • mgaut341's avatar
      mgaut341
      Helper II

      Unfortunately, it contains real patient level data so I can't share anymore