cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Rene_Kunig
Frequent Visitor

Error message at app start

Hello,

 

I have been using this message since the latest time when launching my app. However, I can't assign what triggers it. Can someone give me a tip on this?

 

Der angeforderte Vorgang ist ungültig. Serverantwort: The right side of the "LessThan" operator can't be NULL.

 

Thank you for Help

 

René

3 ACCEPTED SOLUTIONS

Accepted Solutions
PowerAddict
Super User II
Super User II

There's definitely an expression in your app that uses the less than operator AND the right side of the expression has a potential to be null. So you can do one of the two things: 

 

1. In the right hand side of the expression, check for null and provide a default value of some kind in case the right hand side is null. For example, if you are comparing dates like Date1<Date2, you could do Date1<If(!IsBlank(Date2),Date2,Today())

 

2. Use some other comparison e.g. if you are comparing dates like Date1< Date2 you could do DateDiff(Date1,Date2)<0

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit(Haman)

View solution in original post

Hello,

 

Thank you, that helped me

 

"2. Use some other comparison e.g. if you are comparing dates like Date1< Date2 you could do DateDiff(Date1,Date2)<0"

 

Mfg René

 

View solution in original post

Please accept my response as the solution so as to help others and acknowledge that my suggestion worked for you

View solution in original post

5 REPLIES 5
Pstork1
Dual Super User III
Dual Super User III

Somewhere in your App you have a formula that uses an < operator.  The value on the left side of that formula is evaluating to null.  Probably a variable or field that is coming up with a null value.  To evaluate anything like that it has to be on the other side of the equation.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
PowerAddict
Super User II
Super User II

There's definitely an expression in your app that uses the less than operator AND the right side of the expression has a potential to be null. So you can do one of the two things: 

 

1. In the right hand side of the expression, check for null and provide a default value of some kind in case the right hand side is null. For example, if you are comparing dates like Date1<Date2, you could do Date1<If(!IsBlank(Date2),Date2,Today())

 

2. Use some other comparison e.g. if you are comparing dates like Date1< Date2 you could do DateDiff(Date1,Date2)<0

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit(Haman)

View solution in original post

Hello,

 

Thank you, that helped me

 

"2. Use some other comparison e.g. if you are comparing dates like Date1< Date2 you could do DateDiff(Date1,Date2)<0"

 

Mfg René

 

View solution in original post

Thats awesome, glad I could help!

Please accept my response as the solution so as to help others and acknowledge that my suggestion worked for you

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,247)