I’m constructing a web site the place customers will fill webforms (these are high quality of life questionnaires). Customers will fill the identical kind a number of occasions. I wish to present the change within the worth of fields within the webform. For instance, if there’s a discipline, say rating 1 which has a worth of 10 on 13 Could 2020, and 15 on 14 Could 2020, I wish to present that the worth has modified by 5 factors.
I wish to present this utilizing Views as it would permit us to filter by dates on which the shape was crammed in addition to the customers (and use contextual / uncovered filters).
The Views Aggregator discipline permits us to calculate the vary for a column and utilizing the a modified vary system (which the maintainer kindly developed in a short time) we will present the distinction between two values. Nevertheless, that is constrained to be displayed as a desk row and never a discipline.It additionally has the drawback that the worth is at all times most – minimal of the 2 values.
Is it doable that we will get this as a discipline in Views (in order that I can apply customized css code). The motivation for doing that is to indicate the worth in several colours relying on the worth (e.g. purple coloration if the worth is greater than 10 and inexperienced whether it is lower than 5).
It’s noteworthy that every questionnaire can have many various scores computed and I want to make a show for every. Notice that for the show of the change we’re on the lookout for change of the current worth as in comparison with final crammed.
Any pointers can be appreciated.