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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
al1981
Helper II
Helper II

Marking 1st event in day by some condition/s

Dear colleagues

 

I would kindly ask for help... I have one table with all emplyees, more months. Each line represents event - there can be more lines in same day

I would need to mark/count specific line Business absense which can be find in B column (Type description) but only, if this Business absense is the 1st event in the day (there can be more during the same day)

One option would be with adding Index for each event, but in correlation Type description/date/start time/employee?

 

Example table is bellow...

al1981_0-1687847614343.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @al1981 ,

 

About how to add index for groups, please refer to:

Create Row Number for Each Group in Power BI using Power Query - RADACAD

For multiple column grouping, use Ctrl of the keyboard for multi-select and then use "Group by".

 

                                                                                                                                                         

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.           

View solution in original post

2 REPLIES 2
al1981
Helper II
Helper II

Thank you! Helped a lot - very simple but it missed it 🙂

Anonymous
Not applicable

Hi @al1981 ,

 

About how to add index for groups, please refer to:

Create Row Number for Each Group in Power BI using Power Query - RADACAD

For multiple column grouping, use Ctrl of the keyboard for multi-select and then use "Group by".

 

                                                                                                                                                         

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.