Hello,
I need a lot of assistance.
Basically, I have data similar to the following site: http://www.sqlines.com/mysql/how-to/get_top_n_each_group
I'll ask my questions based on their data.
I would like the report to group by country and show the table for the country, difference between the min and max population
These should be sortable
Then, once the user clicks on the row, the details of the country/city/population shows up in a table
Could I achieve the above with myDBR? If so, what topics should I be looking at?
I know how to use dbr.min/dbr.max but I don't know how to not have it show up in the report and only use it to calculate the difference, then show this difference in the report (I'm thinking of using dbr.calc but not sure how to reference the result of the min/max)
I also used dbr.hdr and dbr.collapse but it collapsed each row instead of the group even though the hdr allowed the min/max to be for the desired groups. Also, dbr.collapse shows the data in a list, not a table
Please help. Thank you.