By Gae58 on
I've tried aggregation, it works and it's comfortable. I have a greater and more complex need.
In the views I have 2 content types. Each with a numeric field.
The aggregation should display the total by content type and then calculate the difference between the 2 amounts.
I would like to make it programmatically. Can you route me to suggesting what to read?
Comments
SO you dont want to use the
SO you dont want to use the aggregation ok.
It seems you want to write a custom plugin for views then i guess. Like a formatter where you select field X and field Y and then do calculations. I would start checking out other formatters as a base.
What do you recommend?
What do you recommend?
Keep in mind that in the aggregation by registry I need to view the amount of income, expense and the balance