Hi all, I have an AppSheet project with the following tables:
-
Table: Course
Columns:
- C_ID
- Male count
- Female count
- Total
-
Table: Student
- Columns:
- S_ID
- Sex
- Course
- Columns:
The Course column in the Student table is a Ref to the Course table.
I created an action in the Course table to calculate the total number of students using this expression:
Count(Select(Student[ID-NNI], AND([Sex]=“M”, [Acteurs]=[_THISROW].[Specialize_ID]))) + Count(Select(Student[ID-NNI], AND([Sex]=“F”, [Acteurs]=[_THISROW].[Specialize_ID])))
Now, I want to automate this action in the Course view using Automation in AppSheet:
- Process: Run Data Action / Run Action on Rows
- Referenced Table: Course
What expression should I use in Referenced rows to ensure the action runs correctly?
Next I need to calc the Rate of Male and Female but it’s not changed !
I try to create the action for this matter & it’s work correctly but when I run it thru Automation it’s not work
