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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
rajasekar_o
Helper V
Helper V

Attendance in time out time

hi team i need help,
i have the data , need  to calculate in time and out time 

rajasekar_o_0-1705908147322.png

I need the output 

rajasekar_o_1-1705908221017.png

i try but not able to get output 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rajasekar_o 

You can create a calculated column in table

date = [datetime].[Date]

Then create the following measures

in time = CALCULATE(MIN('Table'[datetime]),'Table'[type]=0)
out time = CALCULATE(MAX('Table'[datetime]),'Table'[type]=1)

Then put them to the visual filter.

Output

vxinruzhumsft_0-1705996351770.png

Best Regards!

Yolo Zhu

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
Anonymous
Not applicable

Hi @rajasekar_o 

You can create a calculated column in table

date = [datetime].[Date]

Then create the following measures

in time = CALCULATE(MIN('Table'[datetime]),'Table'[type]=0)
out time = CALCULATE(MAX('Table'[datetime]),'Table'[type]=1)

Then put them to the visual filter.

Output

vxinruzhumsft_0-1705996351770.png

Best Regards!

Yolo Zhu

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

 

 

 

Daniel29195
Super User
Super User

Hello @rajasekar_o

 

you can achieve this output with power query .

follow these steps : 

i took example this sample data : 

Daniel29195_0-1705909254333.png

 

 

step 1 :  select the column you want to transform it into columns. 

step2 :  go to transform --> pivot

 

Daniel29195_1-1705909301825.png

 

step3 : choose for value column, the values that you want to be under each pivoted column

and aggregate you can set to dont aggregate 

Daniel29195_2-1705909320831.png

 

 

final result : 

Daniel29195_3-1705909369787.png

 

 

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. Dont forget to hit that thumbs up button 🫡👍

 

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.