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

How to get Turn-Around-Time (TAT) in dealing with "Blanks"

Hi Kind People,

 

I hope you can help me with these. I'm trying to get the TAT of my data.

1. if Date and Time Accomplished is 'Blank', don't get or include the TAT for this

here's the sample data below,

Date and Time ReceivedDate and Time AccomplishedTAT
Mon 1/23/2023 9:16 PM1/23/2023 21:41 
1/23/2023 1:58am  
1/23/2023 16:231/23/2023 16:25 
1/23/2023 8:491/23/2023 9:06 
1/23/2023 8:021/23/2023 9:03 
1/23/2023 7:531/23/2023 8:04 

 

1 ACCEPTED SOLUTION
FreemanZ
Super User
Super User

hi @Anonymous 

are you expecting something like this:

FreemanZ_0-1675347314928.png

TAT = 
VAR _tat =FORMAT(    [Date and Time Accomplished] - [Date and Time Received], "h:m:s")
RETURN
IF(
    [Date and Time Accomplished]<>BLANK(),
    _tat
)

View solution in original post

2 REPLIES 2
FreemanZ
Super User
Super User

hi @Anonymous 

are you expecting something like this:

FreemanZ_0-1675347314928.png

TAT = 
VAR _tat =FORMAT(    [Date and Time Accomplished] - [Date and Time Received], "h:m:s")
RETURN
IF(
    [Date and Time Accomplished]<>BLANK(),
    _tat
)
Anonymous
Not applicable

Yeyyy!! This works FreemanZ! thank you very much, God bless!

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