In perspective I get dataset from MySQL db and put it in charts and tables in object format.
To avoid to get another SQL query, I would like to group by day, month, year my dataset variable with a script transform.
Is it possible in python ?
Just get the data in dataset format in some custom property. Transform it to object format where you are currently using it, and use the dataset for the view() operation.