Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi friends i am usnig STUDENT NO,MARKSOUT50 fields i a table
iwany the result in table box as STUDENTO,MARKSOUT50,RANK
likewise shown in the attachement by using script i want the result
Please help me..........
Hi,
Create a straight table with dimension as student.
Expression as Sum(Mark)
Expression as Rank(Sum(Mark))
Regards,
Kaushik Solanki
rank( sum( Sales ), 0, 1 )
Hi Srikanth,
Try like this, if you want to calculate rank in script
StudentTemp:
LOAD student,
marksoutof50
FROM
work.xlsx
(ooxml, embedded labels, table is Sheet1);
Student:
LOAD
*,
RowNo() AS Rank
RESIDENT StudentTemp
ORDER BY marksoutof50 DESC;
DROP TABLE StudentTemp;
Hope this helps you.
Regards,
Jagan.