So based on help I have received over the past couple of days I wanted to have a numerical display to make it easy for my users to see how many items at each status they have logged to their name. I have written the following code based on how I filter my data in my gallery.
So what I believe should work, doesn't and in my head I am saying/reading the code I have written as:
If my user is in the Admin SharePoint list then count how many Not Started, In Progress, Dead Deal, Completed Deal entries are there total for ALL USERS and Total them up. Else if they are not a user in the Admin SharePoint list then count how many of each status they are listed on either as the Assigned To user or a Lead Member user ONLY.
If(!IsEmpty(Filter(Admin_LeadData,FullName=varUser)),
CountIf(Lead_Data, Status.Value = "Not Started") & Char(10) &
CountIf(Lead_Data, Status.Value = "In Progress") & Char(10) &
CountIf(Lead_Data, Status.Value = "Dead Deal") & Char(10) &
CountIf(Lead_Data, Status.Value = "Completed Deal") & Char(10) &
Sum(colDash_StatusTrack, Count),
Filter(Lead_Data, AssignedTo.Value = varUser || LeadMember1.Value = varUser || LeadMember2.Value = varUser || LeadMember3.Value = varUser || LeadMember4.Value = varUser));