Problem with report on the 10 best grades

Good morning friends!
I am making a report grades of the students so that it can be sent by e-mail with a click, and I use the โ€œClickToSendEmailโ€ app to learn how to do it (I am a beginner).

  1. For a list of all the students, the report template below works well:

<<Start: FILTER(Reports all students,true)>>

Name-Surname: <<[Name-Surname]>>

NยฐID: <<[NยฐID]>>

Grade-level: <<[Grade-Level]>>

Phone-Number: <<[Phone-Number]>>

E-mail: <<[E-mail>>

<>

2)PROBLEM: I have problems creating a formula to generate a report with the best 10 students, that is, the students with the best grades. I built the following formula but it doesnโ€™t work:
<<Start: IF(FILTER(Report of the 10 best students,true),TOP(SORT(โ€œClass-1โ€[Grade-Level], 10)))>>

Name-Surname: <<[Name-Surname]>>

NยฐID: <<[NยฐID]>>

Grade-level: <<[Grade-Level]>>

Phone-Number: <<[Phone-Number]>>

E-mail: <<[E-mail>>

<

How can I fix the problem?

Thanks!

Julio

P.S: I hope you can understand the question as I use a translator.

Solved Solved
0 16 400
1 ACCEPTED SOLUTION

Move the <<Start>> tag inside the first cell of the data row, and the <<End>> tag inside the last cell of the first row.
3X_1_8_1833784eb41a6f175be0a8e5e17ef82c8b372ba4.png

View solution in original post

16 REPLIES 16

Steve
Platinum 4
Platinum 4

Can you explain what youโ€™re trying to accomplish with this expression?

IF(FILTER(Report of the 10 best students,true),TOP(SORT(โ€œClass-1โ€[Grade-Level], 10)))

Very difficult to explain. Iโ€™ll try!
With this expression I try to make a โ€œworkflowโ€ that allows me to create a pdf report with a button and send it by e-mail.
The names of the reports are found in a table called โ€œReportsโ€, and one of those reports is named โ€œReport of the 10 best studentsโ€
With the filter I try to call the โ€œworkflowโ€ that corresponds to each report name. Then I order the โ€œClass-1โ€ (First-grade) table by โ€œGrade-Levelโ€ (GPA). Then with TOP I try to get the 10 best GPA.

Please post a screenshot of the column list from the app editor for the Class-1 table.

Try:

<<Start: TOP(ORDERBY(FILTER("Class-1", TRUE), [GPA], TRUE), 10)>>

Wow! amazing!
It works very well.
Thank you very much Steve.

Last alsk:
How can I delete lilac colour titles and keep just first one.

Please post a screenshot of your template.

3X_8_b_8bbe2eed16dffeef4cb6cbfd183f510b295f3512.jpeg

Move the <<Start>> tag inside the first cell of the data row, and the <<End>> tag inside the last cell of the first row.
3X_1_8_1833784eb41a6f175be0a8e5e17ef82c8b372ba4.png

Perfect!
Thanks Steve!!
(Y)

Is there a way to make the dividing lines between columns be at the same level for all records?

Iโ€™m surprised they arenโ€™t! Unfortunately, this is outside my experience, so I have no guidance to offer here.

Thanks you so much!

Steve
Platinum 4
Platinum 4

What does Grade-Level represent? Like first-grade, fifth-grade, tenth-grade? Or is it the studentโ€™s current grade-point-average (GPA)?

What does Class-1 represent? Using it in this way, "Class-1"[Grade-Level], suggests there is a table named Class-1.

  • Grade-Leve represent student current grade-point-averange (GPA), In my country is from 0 (zero) to 10.

*Class-1 represent first-grade, fifth-grade, etc.
โ€œClass-1โ€ is a table ( is the name of an excel sheet in which there is 1 column called Grade-Leve).

Top Labels in this Space