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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
michaelag
Frequent Visitor

group multiple rows into 1 row based on start and end date and leave

Hi,

I have been trying to work out how to group the below so that I get 1 row showing, ID,Site_ID,Data_Export,Incentive_Scheme, Rostered, StartDate,EndDate, Sum of Leave_Hours

Many thanks

 

Current Output

michaelag_0-1607071000483.png

 

Desired Output

michaelag_1-1607071072645.png

 

 

1 REPLY 1
Anonymous
Not applicable

Hi @michaelag ,

 

Could you please tell me about the logic of your filtering?

 

Does it have anything to do with on? Why doesn't Absent keep the green box?

michaelag_0-1607071000483.png

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors