Forum Discussion
ChuckGrigsby
8 years agoQrew Cadet
You should be able to just create summary fields or formula fields to get your totals in a field. Then create a chart and use those values.
- PaulTrimor8 years agoQrew CadetBut that would mean all records have the formula field for totals. That would be a inefficient. Is there a way I could create a new table with a formula fields that contains the sum of a column from another table?
Thank you ,
Paul - ChuckGrigsby8 years agoQrew CadetYou don't have to display the formula field on the form of a record or a report besides the chart report. And when creating the summary fields you can filter the totals based on a criteria.
You should only need a new table if you want to store values in records. If you already have data and just need to perform some math then I would think you could achieve what you want with reports or formula fields.
However if you want to capture the totals of some records at a specific point in time and its possible those values could change, you could store that timestamp plus those values in this new table then compare the values from the timestamp record and the current totals of the same range. Does that make sense? if so is that what you're looking for?
Could you provide some more detail on the end result you'd like to see? Any info you can share about the values or totals you need to display could be helpful finding a solution for you. Thanks! - PaulTrimor8 years agoQrew CadetHey Chuck thanks for all your help thus far.
I have a table where each row represents a school and a count of disabilities in that school.
id school deaf blind ..etc 1 New York University 3 4 ... 2 Georgia State University 5 2 ...
Then I wanted to aggregate the number for each column; I want to create a pie chart with values Sum(deaf), Sum(blind), .....
So I can see as a how disabilities _compare to the whole. School doesn't matter, just want to add up disability groups/ - ChuckGrigsby8 years agoQrew Cadet
Is this what you're looking for? Basically what I did was created another table for disabilities and created a relationship where schools are the parent table.
Then you create a dropdown field in the child table called type of disability and enter all the options there. Make sure to check the options in the field settings to prevent duplicates.
Then go to the child table and create a pie chart and use these settings
Feel to reach out directly if you get stuck along the way. Chuck@Chuck.Support
Good luck and hope this helps! Also I understand you may have a lot of records and this changes the structure. It would not be difficult to export those values and import them back in after the new table was created. - PaulTrimor8 years agoQrew CadetThanks so much for the detailed response Chuck,
I was wanted it so that the chart would update automatically, but I think this is the best way to create a summary Chart.
I think what I want has to be hand coded with javascript HighChart and Quickbase's API. - ChuckGrigsby8 years agoQrew CadetSure thing! If you need help with custom API stuff let me know, that's my specialty! Chuck@Chuck.support
happy to demo some examples. - NenadIlic8 years agoQrew Assistant CaptainHi Guys, I have a similar situation, but a bit different, and I could use a help from your side.
In my case I have one table where I use checkboxes to select services that are needed to be implemented. and by using summary I am able to sum up all services per project that are used, and create a table (summary) with totals.
I would also like to create a pie chart showing which services are most popular, but somehow I am having issues in creating a field or summary field where I could count them all.
Each service presents a separate checkbox field, thus I am confused on how to do this.
Could you please advise on what my best option would be?
KR
Nenad