Forum Discussion
Mamoun_issa
6 years agoFrequent Visitor
Same patients visit in same day
Hello I Have patients visits schedule that have the details of the visits and the procedure done in each visits, I neet to diffrentiate visits that have same day visit the data look something lik...
- 6 years ago
Hi Mamoun_issa ,
Please try this:Same Day = CALCULATE ( DISTINCTCOUNT ( myTable[Visit Number] ), ALLEXCEPT ( myTable, myTable[Patient Number], myTable[Visit Date] ) )
Nathaniel_C
Community Champion
6 years agoHi Mamoun_issa ,
Please try this:
Same Day =
CALCULATE (
DISTINCTCOUNT ( myTable[Visit Number] ),
ALLEXCEPT ( myTable, myTable[Patient Number], myTable[Visit Date] )
)