Dashboard Help- Widgets and COUNTIFS
I am new to Smartsheet and making a dashboard. I want a widget to show as a pie chart illustrating how many :
1. "SRM"(child rows w/ purple check marked and bold text) there are [see screenshot below]
2. if it is "closed"(box checked) or not.
I know I need to make a separate metric sheet with a COUNTIFS formula referencing this sheet, but I don't know what to do next.
Thank you for your help
Answers
-
hi @megtro610,
If you want to create Chart widget from report it will take only row data from report and you cannot use numbers from grouping or counting etc.
For widget with that data put this information into Sheet Summary in sheet create reports out of Sheet summary and you will have this data ready for widgets.
The Real Smartsheet Enthusiast
Is there anything else we can help you with? - book your time.
MASA Consult - Your Aligned Smartsheet Gold Partner
Find us on LinkedIn & Check our Smartsheet Solutions!
Tag my name: @kowal if you want me to respond :)
-
Hi @megtro610,
That’s right, you’ll need a separate metrics sheet to do this. I’d create a “Level” column in your main sheet first, to show the number of ancestors each row has - we can then use that column to count the number of “SRM” rows (since they are the first level children).
So, my suggestion is as follows:
- Create a ‘Level’ column in your existing sheet to show the Level of each row, using =COUNT(ANCESTORS()).
- Convert the formula to a column formula so that it applies to all rows - your sheet will then look something like this:
- Then, on your separate metrics sheet, create formulas to count:
- Number of rows with the relevant level (in this case, level 1), using:
- =COUNTIF({Main Sheet - Level}, 1)
- The cross-sheet reference (the section in curly brackets {}) is the entire “Level” column in main sheet - you’ll need to create the reference as you type the formula, and you can name the reference as desired
- Number of rows where Closed? Is 1, using:
- =COUNTIF({Main Sheet - Closed}, 1)
- Reference is the “Closed?” column in main sheet
- Number of rows with the relevant level (in this case, level 1), using:
- You could also create metrics to count rows that aren’t closed and aren’t SRM rows, with:
- Number of not closed: =COUNTIFS({Main Sheet - Closed}, <>1, {Main Sheet - Level}, <>1)
- Number of rows that aren’t SRM: =COUNTIF({Main Sheet - Level}, <>1)
- Your metrics sheet would then look similar to below:
- Once you’ve got your metrics sheet set up, you can then use that sheet as the source for charts on your dashboard and select the relevant rows. For example, you could select the bottom 2 rows in the “Add Chart Data” window to show Closed vs Not Closed, as seen below:
- Then in another chart, you could select the top 2 rows in the “Add Chart Data” window to show SRM vs not SRM, so that your pie charts would look something like this:
Check out the following articles for more information on the functions used in the formulas:
Does that work for you?
Georgie
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
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
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives