Use IsBlank and Trim to check for any empty or whitespace strings.
IsBlank(Trim(Column2))
Trim will remove any whitespace and IsBlank will return a true/false if the string is empty or not after the trim.
IsBlank
Trim
UPDATE: Check only for IsBlank where Column2 is evaluated, the way you wrote it it's checking if Column2 = bool which will have a type mismatch since it's checking a string vs a bool, change to this:
ClearCollect(Test,LookUp(Table1,Column1=DataCardValue6.Text && IsBlank(Trim(Column2))))
Answer from kshkarin on Stack OverflowIsEmpty and IsBlank functions suddenly stopped working for combo box
How to evaluate empty TextBox in PowerApps? - Stack Overflow
Blank() isn’t the same as “”?
sharepoint online - Using IsBlank in formula for Date Time Picker field on Power Apps - SharePoint Stack Exchange
Videos
I’m pretty new to power apps and have been using it for about a month to make something for work. The app is a form that uses a share point list to get data for combo boxes.
I have been using IsBlank and IsEmpty to check if any boxes do not have a selection made, and if so to leave the submit button blank. When I initially set it up it worked perfectly with no problems. However when I tried to test something else today I found it had completely stopped working for the combo boxes I have made. The weird part is that I use the exact same code in another test app and it still works fine, and I tested if it works on a different combo box separate from the form on that same page and it also works. The combo boxes are formatted exactly the same so I’m confused why it is not working.
The button used an if statement like this:
If(isblank(combobox.selected.result) || isempty(combobox.selected.result), displaymode.disabled, displaymode.edit)
I have tried everything I could find on google like countRows, LEN, removing the .result part, etc.
Any possible suggestions?