cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

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
Highlighted
Post Patron
Post Patron

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
Highlighted
Community Champion
Community Champion

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

Highlighted
Post Patron
Post Patron

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?

Highlighted
Post Patron
Post Patron

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,724)