Hi there. I have created an org chart that has a galMain gallery and a galDirectReports gallery. The user in the main gallery will show his direct reports in the galDirectreports gallery. Working great but every time I open the org chart, I get the error below.

The Direct Reports formula is SortByColumns(Office365Users.DirectReports(galMain.Selected.UserPrincipalName),"DisplayName",SortOrder.Ascending)
The GalMain formula is
Filter(Office365Users.SearchUser({searchTerm:txtEmployeeName.Text}),IsBlank(Department)= false,IsBlank(JobTitle)= false, AccountEnabled=true)
I have tried researching the If(!isBlank formulas but I can't seem to get it to work with my formula. Any Suggestion on how to get rid of this error?
Thank you!
Tim