Forum Discussion
okusai3000
6 years agoHelper IV
Two dates and USERELATIONSHIP
Hello everyone, I'm getting nuts trying to solve the following. I have a table with VISITS to PATIENTS. Each visit is related to a PATIENT_ID. Could happen that you have 2 visits to the s...
- 6 years ago
Hello okusai3000
Try this:
Form Not Signed = VAR _SignFormDateChek = FILTER(dtPatient, ISBLANK(dtPatient[[CON_VIS_CLI]) || dtPatient[[CON_VIS_CLI] > dtPatient[Vistit Date] ) VAR _RowCount = CALCULATE(DISTINCTCOUNT(dtPatient[PATIENT_ID]),_SignFormDateChek ) RETURN _RowCountCheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
vivran22
6 years agoCommunity Champion
Hello okusai3000
Try this:
Form Not Signed =
VAR _SignFormDateChek =
FILTER(dtPatient,
ISBLANK(dtPatient[[CON_VIS_CLI]) || dtPatient[[CON_VIS_CLI] > dtPatient[Vistit Date]
)
VAR _RowCount =
CALCULATE(DISTINCTCOUNT(dtPatient[PATIENT_ID]),_SignFormDateChek
)
RETURN
_RowCount
Cheers!
Vivek
If it helps, please mark it as a solution
Kudos would be a cherry on the top 🙂
https://www.vivran.in/
Connect on LinkedIn
- okusai30006 years agoHelper IV
Sir, I simply LOVE YOU.
That was the solution.. Thank you so much.
Form Not Signed = VAR _SignFormDateChek = FILTER(dtPatient, ISBLANK(dtPatient[[CON_VIS_CLI]) || dtPatient[[CON_VIS_CLI] >= dtPatient[Vistit Date] ) VAR _RowCount = CALCULATE(DISTINCTCOUNT(dtPatient[PATIENT_ID]),_SignFormDateChek ) RETURN _RowCount