Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ankit777
Specialist
Specialist

Script help

Hi All,

Suppose I have a table like below.

Id, Marks

1,10

2,34

3,21

4,56

5,11

I want to draw a chart in which dimension will be id and expression will be sum(Marks)

I want to overide the id , show same values of sum corresponding to all Id. ie, in chart it should show 132 corresponding to all id's.

Please help how the expression needs to be changed.

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Expression

SUM(TOTAL Marks)

Or

You can get the same by script

Table1:

Load * Inline

[

  Id, Marks

  1,10

  2,34

  3,21

  4,56

  5,11

];

Left Join

Load SUM(Marks) as TotalMarks Resident Table1;

View solution in original post

2 Replies
MK_QSL
MVP
MVP

Expression

SUM(TOTAL Marks)

Or

You can get the same by script

Table1:

Load * Inline

[

  Id, Marks

  1,10

  2,34

  3,21

  4,56

  5,11

];

Left Join

Load SUM(Marks) as TotalMarks Resident Table1;

ankit777
Specialist
Specialist
Author

Thanks Manish