Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Administrator
3 years ago

Get Maximum Budgets with Conditionals

Greetings, I am having difficulty getting the budgeted maximum budgets due to the following conditions.

1. the paceinte 8 has 3 treatments two already started therefore I must porder filter the payments, use this function to filter them

2. Patient 77 has not made payments needs to filter the maximum treatment of this.

The intention with this is to calculate the maximum budgeted treatments by patients, if a patient started treatments and has not started the incites will be taken, if the patient does not start any treatment will take only the maximum since I did not start any.

I try with this equation where I ask you to place 1 and 0, but it does not work when the patient has never started a treatment.

2 Replies