Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
Messageid | Messagelogid | fromdate | to date | row no | ||||
---|---|---|---|---|---|---|---|---|
1 | 1 | 2013-10-23 |
| 1 | ||||
1 | 2 |
|
| 2 | ||||
1 | 3 |
|
| 3 | ||||
2 | 4 |
| 2013-10-25 | 1 | ||||
2 | 5 | 2013-10-25 | 2013-10-29 | 2 | ||||
3 | 6 |
|
| 1 | ||||
3 | 7 |
|
| 2 |
how can I built rowno in chart?!!
May be this
Autonumber(RowNo(),Messageid) as rowno
Regards,
Antonio
No it dosnt work
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
];
H want something work in expression not in script.
Hi @antonio,
She wanted to this in front end ....
Thanks
Try this
Aggr(RowNo(),Messageid,Messagelogid)
thats work so good. thank you