cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
BrianHFASPS
Level 8

Converting null Time from SQL results in not blank value?

I pull in a Time field from SQL and then run through the conversion to make it readable in my app with code like this:

 

"OutTime",
First(ForAll(MatchAll(SignoutTime,"PT(?:(?<hours>\d+)H)?(?:(?<minutes>\d+)M)?(?:(?<seconds>\d+)S)?"),
        Time(Value(hours),Value(minutes),Value(seconds)))).Value,

 

This is inside an AddColumns function so it creates a new column named OutTime with a clean version of SignoutTime retrieved from SQL.

Then if I run

IsBlank(OutTime) it returns false

IsEmpty(OutTime) it returns false

IsBlank(SignoutTime) it returns true

If I create a label that displays OutTime it shows nothing and appears to be blank. I don't understand what is happening? Can anyone help me understand?

1 ACCEPTED SOLUTION

Accepted Solutions
BrianHFASPS
Level 8

Re: Converting null Time from SQL results in not blank value?

This problem appears to be caused by recent change in Powerapps. See https://powerusers.microsoft.com/t5/Building-Power-Apps/Regression-Change-in-3-20021-29-to-3-20022-1... for more details.

View solution in original post

3 REPLIES 3
eka24
Level 10

Re: Converting null Time from SQL results in not blank value?

BrianHFASPS
Level 8

Re: Converting null Time from SQL results in not blank value?

Thanks but that doesn't really explain I think. I am not trying to patch a null. I don't know what the value is that comes out of that code because it isn't blank or empty but at the same time if displayed in a label shows nothing?

BrianHFASPS
Level 8

Re: Converting null Time from SQL results in not blank value?

This problem appears to be caused by recent change in Powerapps. See https://powerusers.microsoft.com/t5/Building-Power-Apps/Regression-Change-in-3-20021-29-to-3-20022-1... for more details.

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,808)