There are two ways to do this, the formula illustrated by @AngB789 above, or if you are uncomfortable with formulas, you can also always set up a report that pulls from this sheet like so:
- Generate new row report (I usually have mine in a folder labeled "Charts"
- Select this sheet as the source sheet
- Select the "Closed?" column in columns
- Filter the "Level" column to equals 2
- Group the report by "Closed?" and collapse the group (bottom left of the group dropdown)
- Count the "Closed?" column under summary
- Select this report when generating a new pie chart
This option is also better if you want to select the pie chart (option when clicked open source), and see what row falls in each category of the pie chart; however if you are comfortable with formulas and don't really care about what row pertains to the pie wedge, I suggest going with AngB's way and create a collapsible summary row at the top for charts.
Edit to add as I just saw your additional comment, you can add/change the filters to make sure it contains only rows that are under specific primary columns (whether that is determined by an additional column with dropdown tags or if primary CONTAINS certain phrases)
Dashboard Help- COUNTIFS, Checkboxes and Hierarchy
I am trying to make a widget for a dynamic dashboard that shows how many child level 2s and if the "Closed?" box is checked or not. I would like to make it a pie chart if possible.
The level column is measuring by Parent/child hierarchy with the formula
=COUNT(ANCESTORS()) + 1
Thanks!
Best Answer
-
There are two ways to do this, the formula illustrated by @AngB789 above, or if you are uncomfortable with formulas, you can also always set up a report that pulls from this sheet like so:
- Generate new row report (I usually have mine in a folder labeled "Charts"
- Select this sheet as the source sheet
- Select the "Closed?" column in columns
- Filter the "Level" column to equals 2
- Group the report by "Closed?" and collapse the group (bottom left of the group dropdown)
- Count the "Closed?" column under summary
- Select this report when generating a new pie chart
This option is also better if you want to select the pie chart (option when clicked open source), and see what row falls in each category of the pie chart; however if you are comfortable with formulas and don't really care about what row pertains to the pie wedge, I suggest going with AngB's way and create a collapsible summary row at the top for charts.
Edit to add as I just saw your additional comment, you can add/change the filters to make sure it contains only rows that are under specific primary columns (whether that is determined by an additional column with dropdown tags or if primary CONTAINS certain phrases)
Ashley Knight
Answers
-
@megtro610 Try this formula if you are having issues with that. If you are looking at counting all them I would suggest copying what you do for level 2 and do an open and closed for each level. Then when you go to add the pie chart you would highlight all the metrics that you want in that particular chart.
For closed:
=COUNTIFS([Level]:[Level], "2", [Closed?]:[Closed?], 1)
For Open:
=COUNTIFS([Level]:[Level], "2", [Closed?]:[Closed?], 0)
See below screen show on how I set up the information for pie chart. You have to have a column for the name of what you are trying to compare to:
-
Hey @megtro610 !
Just for clarification, would the pie chart display the number of level 2s that are closed vs not closed? Or will the pie chart show the count of each level that is marked as closed?
Ashley Knight
-
@AKnight It would be for how many are not closed.
-
@AngB789 Thank you! Is there a way to reference only a certain number of rows? For example, I want to make a pie for each unchecked level 2 there is under a specific level 1 row. I hope my question makes sense 😊
-
@megtro610 Can you show me what you are referring to? What do you want to track and where do you want it to stop?
-
There are two ways to do this, the formula illustrated by @AngB789 above, or if you are uncomfortable with formulas, you can also always set up a report that pulls from this sheet like so:
- Generate new row report (I usually have mine in a folder labeled "Charts"
- Select this sheet as the source sheet
- Select the "Closed?" column in columns
- Filter the "Level" column to equals 2
- Group the report by "Closed?" and collapse the group (bottom left of the group dropdown)
- Count the "Closed?" column under summary
- Select this report when generating a new pie chart
This option is also better if you want to select the pie chart (option when clicked open source), and see what row falls in each category of the pie chart; however if you are comfortable with formulas and don't really care about what row pertains to the pie wedge, I suggest going with AngB's way and create a collapsible summary row at the top for charts.
Edit to add as I just saw your additional comment, you can add/change the filters to make sure it contains only rows that are under specific primary columns (whether that is determined by an additional column with dropdown tags or if primary CONTAINS certain phrases)
Ashley Knight
-
Thank you! I did not realize you could just make a report rather than complicated formulas to do the work (like I've seen on the Youtube videos that I've been using). This makes my life so much easier 😁
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 508 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives