Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
amit_saini
Master III
Master III

Logic help for calculation =count(Date) in list box

Hi Folks,

Not sure if this is possible.

I'm having simple script like below:

LOAD User,

     Date,

     month(Date) as Month,

 

     year(Date) as Year

FROM

....

I have created below table in front end:

Is there any possibility that I can call count(Month) in a list box to get these numbers as a list????

Thanks,

AS

1 Solution

Accepted Solutions
amit_saini
Master III
Master III
Author

I think I got it. This is working

=Aggr(Count(Month), User)

Thanks,

AS

View solution in original post

10 Replies
sunny_talwar

Try this:

=Aggr(Count(Month), Firstname, LastName)

MayilVahanan

Hi

May be try like this,

Add expression in the listbox

First Name

Exp: = Count(Month)

Or

Add like

=Aggr(Count(Month), [First Name])

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
amit_saini
Master III
Master III
Author

Sorry Sunny , it's showing me '-'

I have tried something like below:

=aggr(count( Date),Lastname)

and this is working , but i believe this is count of Date not Month

Thanks,
AS

Anonymous
Not applicable

Yeah, you can......

Just use aggr() function in listbox expression intead of field....

Something like suggested by Sunny T

amit_saini
Master III
Master III
Author

I have already tried this , not working.

PFA

Thanks,
AS

Anonymous
Not applicable

check this?

amit_saini
Master III
Master III
Author

Balraj,

Actually I'm facing issue below:

Some cases it is working fine like below

and

in some cases not like below:

MayilVahanan

Hi'

Try like this

=(Aggr(Count(Month),  User))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
amit_saini
Master III
Master III
Author

I think I got it. This is working

=Aggr(Count(Month), User)

Thanks,

AS