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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors