Please add the tag. Use the 🖉 edit link beside your question title and select Perspective from the dropdown.
You say that you wish to compare times (presumably date-time) but your expression shows that you are comparing dataQuality and text. Do those components hold timestamp values or what?
Tip: post code rather than pictures of code so we can copy it into our expression editor, etc., and our answers.