Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2806

Filtering data with conditions

$
0
0

Hi All,

I have students' different term grade of different years. Each year has four terms (R1, R2, R3, R4). Any time of the year when I will run the report, students may or may not have the grade available for all terms of the current year (let's say in the following case only R1 & R2 is available, but

not R3 and R4).

 

 

Can anyone write the code for me so that I get the following:

 

 

- All R4 grades of the previous years,

- All grades of the latest term of current year (eg: if R1,R2 & R3 availble, I want R3).

- Some later terms of the current years will appear with blank data, I want to remove them too. (eg: R3 and R4 is the available in the case below)

- All Dec Marks should be removed.

 

Can somebody help please.

 

 

 

 

Studuent_IDGradeTermSession
2323375R42012-2013
4435475R42014-2015
4435475Dec Marks2015-2016
11232R42015-2016
2323372R42014-2015
2323375R22015-2016
1123284R42014-2015
2232180R42014-2015
1123284R42012-2013
2232174R12015-2016
4435483R12015-2016
2232184R22015-2016
44354R42015-2016
2232182Dec Marks2015-2016
2323377R12015-2016
1123277R12015-2016
4435476R22015-2016
22321R42015-2016
1123278Dec Marks2015-2016
2323378R22015-2016

Viewing all articles
Browse latest Browse all 2806

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>