Forum Discussion

YogeshS's avatar
YogeshS
Frequent Visitor
3 years ago

calculating the consecutive count

Hello,

 

I am trying to calculate the consecutive absent count of students......like they should be absent for 7 days continuously then the dax should take the count as 1 and if another student is asbsent for continuous 7 days then, dax should increase its count to 2. I have attached the above picture for reference. Consider Dates are stacked in one single column,  in the above picture i divided the date into columns for easy understanding.
Help me to create a measure/ calculated column.

3 Replies