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

how to make rowno with aggr for grouping data

Hi all

I have a chat with  like this that have some filed. Messageid , Messagelogid, from date and to date. I want to add row no for each messahe id like the sample.

MessageidMessagelogidfromdateto daterow no
112013-10-23
2013-10-23
1
12
2013-10-23
2013-10-224
2
13
2013-10-24
2013-10-25
3
24
2013-10-23
2013-10-251
252013-10-252013-10-292
36
2013-10-25
2013-11-25
1
37
2013-11-25
2013-11-27
2

how can I built rowno in chart?!!

1 Solution

Accepted Solutions
antoniotiman
Master III
Master III

Try this

Aggr(RowNo(),Messageid,Messagelogid)

View solution in original post

7 Replies
antoniotiman
Master III
Master III

May be this

Autonumber(RowNo(),Messageid) as rowno

Regards,

Antonio

marjan_it
Creator III
Creator III
Author

No it dosnt work

antoniotiman
Master III
Master III

Why ?

LOAD *,AutoNumber(RowNo(),Messageid) as RowNo Inline [
Messageid,Messagelogid,fromdate,to date,row no
1, 1, 2013-10-23,2013-10-23, 1
1, 2,2013-10-23,2013-10-224, 2
1, 3,2013-10-24,2013-10-25, 3
2, 4,2013-10-23,2013-10-25, 1
2, 5,2013-10-25,2013-10-29, 2
3, 6,2013-10-25,2013-11-25, 1
3, 7,2013-11-25,2013-11-27, 2
]
;

marjan_it
Creator III
Creator III
Author

H want something work in expression not in script.

prma7799
Master III
Master III

Hi @antonio,

She wanted to this in front end ....

Thanks

antoniotiman
Master III
Master III

Try this

Aggr(RowNo(),Messageid,Messagelogid)

marjan_it
Creator III
Creator III
Author

thats work so good. thank you