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! Learn more

Reply
dading
Helper II
Helper II

Summarize Status Table

Hi...im beginner to PowerBI

 

i have a table as shown below :

eqmtidtimestarttimeendStatusDuration_hours
S106-Apr-2020 07:30:0006-Apr-2020 08:12:27A                   0.7075
S106-Apr-2020 08:12:2706-Apr-2020 08:12:41A                   0.0039
S106-Apr-2020 08:12:4106-Apr-2020 08:13:53B                   0.0200
S106-Apr-2020 08:13:5306-Apr-2020 08:14:08C                   0.0042
S106-Apr-2020 08:14:0806-Apr-2020 08:14:18C                   0.0028
S106-Apr-2020 08:14:1806-Apr-2020 08:15:48A                   0.0250
S106-Apr-2020 08:15:4806-Apr-2020 08:31:11D                   0.2564
S106-Apr-2020 08:31:1106-Apr-2020 08:41:28D                   0.1714
S106-Apr-2020 08:41:2806-Apr-2020 08:44:11C                   0.0453

 

and i want to summarize it to be like this

Can you help me please?

eqmtidtimestarttimeendStatusDuration_hours
S106-Apr-2020 07:30:0006-Apr-2020 08:12:41A                   0.7114
S106-Apr-2020 08:12:4106-Apr-2020 08:13:53B                   0.0200
S106-Apr-2020 08:13:5306-Apr-2020 08:14:18C                   0.0069
S106-Apr-2020 08:14:1806-Apr-2020 08:15:48A                   0.0250
S106-Apr-2020 08:15:4806-Apr-2020 08:41:28D                   0.4278
S106-Apr-2020 08:41:2806-Apr-2020 08:44:11C                   0.0453

 

 

thank you.

 

1 ACCEPTED SOLUTION

@dading , Got it. I created a new start date to be used. an created a visual based on

Solution attached after signature

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

7 REPLIES 7
parry2k
Super User
Super User

@dading add a sum measure and drop all the column in table visual except duration_hours instead use the following measure

 

Duration Hours Sum = SUM ( YourTable[Duration_hours] )

 

Would appreciate Kudos 🙂 if my solution helped.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k , what i want is summarize the timestart and timeend base on status

for example status A (1-2 row)

the result will be

timestart = 07:30:00

timeend = 08:12:41

@dading ,

Take First/min for timestart and max/last for timeend.

 

Or You can take summarize


summarize(Table,table[eqmtid],table[Status],"Time Start",Min(table[timestart]),"Time End",Max(table[timeend]),"Duration hours",Sum(table[Duration_hours]))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak i have tried it, but i got some result missed

for example status A

timestart 07:30:00

timeend 08:15:48 (should be 08:12:41)

@dading , Got it. I created a new start date to be used. an created a visual based on

Solution attached after signature

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Wow..amazing

this is what i want

 

thanl you @amitchandak 

by the way

@amitchandak Can we do the same thing in power query? how to do that

 

thanks in advance

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Solution Authors