Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
a_guest1005
Frequent Visitor

Summarize Absence Days into Instances of Absence

I've got the following data which details absences for individuals. 

a_guest1005_0-1659524359846.png

 

I need to summarise this data so I get the instances of absence. In this case it would be 7, the the highlighted rows summarizing to 2 seperate instances of 7 and 11 days.

 

A new summary table would be fine, if it can't be carried out in a DAX measure 

3 REPLIES 3
Kaly
Resolver II
Resolver II

Hi @a_guest1005 ,

If you mean you want to divide the table into three tables, I'm not very clear what's the logic of segmentation. If the first and second parts are different because of the year, then what is the logic of the distinction between the second and third parts. Please explain it more.

 

Best Regards,
Kaly

daXtreme
Solution Sage
Solution Sage

@a_guest1005 

 

I don't get that... The highlighted rows should be collapsed into just one: absence from 3/2/2022 thru to 28/2/2022. Why are you separating the one continuous period into two?

Your right, I highlighted the wrong two rows. the bottom 5 should be one instance and the two above that another instance, then the top three rows, all seperate

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors