Hello everyone,
Please help me with the following question.
My data is -
Class | Student | Math1 | Math2 | Science1 | Science2 | English1 | English2 |
Grade1 | Bob | 44 | 76 | 88 | 66 | 99 | 22 |
I an churning out the word document using reporting tool where i have to draft a letter.
Required output is below -
Name: Bob
Class: Grade1
This is report card of Bob.
The assessment is as follows: -
Please contact me if you have any question.
---------------------
Lower/Higher will be changed based on whether the marks in one subject is higher or lower.
This is giving me a very hard time 😞
Please help me with this, Thank you so much in advance.
Solved! Go to Solution.
Hi @Ekta ,
Happy to know where you are struggling and help you through it.
In the meantime, you can look for help in the attached workflow. The output is shown below:
Let me know if you have any questions.
Cheers,
Angelos
Thanks a lot for the Workflow, This is something i am looking for:)
but my data could also have subjects where the marks can be same like
Class | Student | Math1 | Math2 | Science1 | Science2 | English1 | English2 | History1 | History2 |
Grade1 | Bob | 44 | 76 | 88 | 66 | 99 | 22 | 50 | 50 |
then in this case , i don't want the letter should capture the subjects with equal marks and
these subject can differ for individual students like Bob can have all 4 subjects but Peter can have just 2.
in any way we can make it dynamic.
and also in place of numbers, how can we have subjects name like Math1 , Math2 etc.
Do you mind trying the following workflow please and let me know if that works?
I had to restructure your data in the following format to make it more dynamic as you said.
Then if a subject is not applicable to a student, that will be null and that is removed further downstream in the workflow. The difficult part was to make the text describing how each student performed across different subjects change depending on how many subjects are available for that student.
As that couldn't be done in a Report Text tool anymore, we had to create the text before feeding it to the Report Text tool. I used a summarize tool for that with a /n (newline) as a delimiter.
However, I then realised that Report Text tools don't like newlines and they were bringing the text back in the same line if you don't make any changes. I searched for a solution in the community and found these threads that helped me tackle the issue, which I attach here for your reference.
This is how the output word docs will now look like
Let me know if that worked for you please.
Cheers,
Angelos
Amazing, this is just perfect:)
Thank you so much ...Just one more thing - How can we do the numbering of the text?
like -
1. English1 assessed by teacher is higher English2.
2. Math1 assessed by teacher is lower Math2.
3. Science1 assessed by teacher is higher Science2.
Thank you so much in advance:)
Hi @Ekta ,
I have added a multi-row formula tool that will give you the correct numbering, so your output now looks like that
Hope that helps,
Angelos
@AngelosPachis Thanks so much:), Accepting as a solution.
Thanks a lot for this workflow, can i please take your help to help me with the following similar issue-
Name: Bob
Class: Grade1
This is report card of Bob,he performed well.
The assessment is as follows: -
Please contact me if you have any question.
---------------------------------------------------------------------------------------------------------
Above blue line is based on a condition in my letter , i have a column named Passed if the value is 0 then i need not to put ,he performed well but if the value other than 0 i need to include this line.
Appreciate your help.
Thanks
Hi @Ekta ,
You can use a formula tool to create a new column called [Extra field] for example and put an if Statement in there.
That if statement would be something like :
IF [Passed]!=0 then ", he performed well"
ELSE ""
ENDIF
then you can add it to your Report Text tool, right after
Hope that helps, let me know if you had any trouble implementing that to your workflow.
Regards,
Angelos