Problem with count in report

I’m trying to get a count per user and I can’t figure out how to get it to work.I’m sure that I’m missing something basic. I think the first column is correctly returning the unique users. Now I need to figure out how to show how many requests were created by each user.

Thanks for your help.

1 Like

Try

<<COUNT(SELECT(USERS[USER_NO],AND(IN([USER_NO],REQUESTS[SUBMITTER_USER_NO]),ISNOTBLANK(REQUESTS[PR_NO]))))>><<END>>

2 Likes

Thanks Jonathan. That gives me the sum total on each line, not the breakdown by user.

1 Like

Ok, well without any additional info Im not sure. Just seen you forgot the And()

2 Likes

Try:

<<COUNT(FILTER("REQUESTS", AND(ISNOTBLANK([PR_NO]), ([SUBMITTER_USER_NO] = [_THISROW-1].[USER_NO]))))>>

3 Likes

Thanks Steve. It worked perfectly.

1 Like