How to include specific parent and child rows from multiple sheets in a report
Hello, I would like to create a report from multiple sheets but I was wondering if there is a way to select specific parent and child rows.
Your help will be much appreciated.
Thank you!
Best Answers
-
Genevieve P. Employee Admin
I see you marked@seattlevigilante's response as not answering your question. Would you mind identifying what did/did not help from the above post?
If you only want to select very specific rows and exclude a number of others, but there's no set criteria for this (ex. you know exactly what rows are important but it's not consistent across sheets), then I would recommend creating a helper column in all of your sheets.
This column could be a checkbox column that says "For Report" or something like this, where you can check what rows you want to have included. Then you can use the Filter function in a Report to filter out any rows that are not checked. See:Use Filters on Reports
Cheers,
Genevieve
-
Genevieve P. Employee Admin
Was the column you were looking to choose a multi-select column? Currently grouping can only be applied to single-select columns.
An alternative would be to create a "metric sheet" and use cross-sheet formulas to create your numerical calculations. It sounds like you would want to use a COUNTIFS formula, and if you're looking at a Multi Select column, you can use HAS as well to see if a columnhasa specific selection.
For example, a COUNTIFS works like this:
=COUNTIFS({Column 1}, "Criteria 1", {Column 2}, "Criteria 2")
如果你想在多选专栏中,你的“Criteria" would be
HAS(@cell, "Criteria")
So something like:
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"))
Then if you're looking for a specific Month, as long as you have a Date column in your sheet, you can use the MONTH function. So the "Criteria" if you were looking for February, or 2, would be:
MONTH(@cell) = 2
然而本月函数需要一个IFERROR Statement around it, so it can ignore any blank cells:
IFERROR(MONTH(@cell), "") = 2
Here's a full example with the MONTH
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"), {Date Column}, IFERROR(MONTH(@cell), "") = 2)
Keep in mind if you're looking into multiple sheets you'll need to create multiple formulas:
=COUNTIFS(formula) + COUNTIFS(formula 2) + COUNTIFS(formula 3)
If you have lots of sheets it may be better to adjust your column type to Single Select to be able to use it in a Report, instead.
If you'd like further help with formulas, you may want to start a New Question here in the Community with Screen Captures and either myself or one of our wonderful members will be happy to help!
Cheers,
Genevieve
Answers
-
Hello@Christiana Gkini
This is currently not supported in Reports. When you can, please submit anenhancement requestto have this be considered for future development in Smartsheet!
In the meantime, an alternate solution is to change the background color for parents/children OR use conditional formatting to differentiate the parents/children in the report. See image below as sample.
Hope this helps!
Thank you~
-
Genevieve P. Employee Admin
I see you marked@seattlevigilante's response as not answering your question. Would you mind identifying what did/did not help from the above post?
If you only want to select very specific rows and exclude a number of others, but there's no set criteria for this (ex. you know exactly what rows are important but it's not consistent across sheets), then I would recommend creating a helper column in all of your sheets.
This column could be a checkbox column that says "For Report" or something like this, where you can check what rows you want to have included. Then you can use the Filter function in a Report to filter out any rows that are not checked. See:Use Filters on Reports
Cheers,
Genevieve
-
I have the same issue. I have a master Project Plan - the Parents in the project plan are Mini-Projects that are not related to the other parents. I would like a report to break those up to show individually. The only method I can figure out right now is to create a column with a "Flag" and manually assign each task to a parents then filter by that column. What is the point of the Parent and Children functionality?
- "Who are the children of Parent XYZ?"
- If Parent = XYZ and IS A CHILD then show CHILD
That's what I'm looking for in the report filters!
-
The solution you provided was very helpful.
However now I have another request to achieve.
This report was created in oder to display some specific rows in a dashboard. However, now I need to display in the same dashboard 2 pie charts from the data/rows that are not selected for the report ( ex 1 chart employees by region per month and chart 2 type of transactions per month). How can I accomplish this?
Let me know if this doesn't make sense to you. Your help is much appreciated.
-
Genevieve P. Employee Admin
Reports evaluate sheets on a row-by-row basis, as you've found. In your scenario, I would suggest creating a helper column in the source sheet to bring the data from Parent "XYZ" into each child row so that each child has a cell that says "XYZ" and you can use this in your Report.
The formula to do this is a simple PARENT formula, like so:
=PARENT([Task Name]@row)
You can turn this into a Column Formula so it applies to every row, then use this in your Report. Let me know if you'd like to see screen capture examples!
-
Genevieve P. Employee Admin
Depending on how your source data is set up, you could create two different Reports to be the sources for each of your Chart widgets. You can use the GROUP and SUMMARIZE feature to create numbers out of your rows, which would then be the numbers for your Pie Charts.
There's a webinar that goes through how to use Grouping and Summary here:Redesigned Reports with Grouping and Summary Functions
Cheers,
Genevieve
-
Thank you for getting back to me.
I did have a look in the webinar and tried to go this way but it didn't work, as the column option I wanted was not available for me to choose in the group and summary features.
Any idea that could help me here?
Do you by any chance provide support on a zoom call so I could show you how it looks like and what I am trying to achieve?
Thank you.
-
Genevieve P. Employee Admin
Was the column you were looking to choose a multi-select column? Currently grouping can only be applied to single-select columns.
An alternative would be to create a "metric sheet" and use cross-sheet formulas to create your numerical calculations. It sounds like you would want to use a COUNTIFS formula, and if you're looking at a Multi Select column, you can use HAS as well to see if a columnhasa specific selection.
For example, a COUNTIFS works like this:
=COUNTIFS({Column 1}, "Criteria 1", {Column 2}, "Criteria 2")
如果你想在多选专栏中,你的“Criteria" would be
HAS(@cell, "Criteria")
So something like:
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"))
Then if you're looking for a specific Month, as long as you have a Date column in your sheet, you can use the MONTH function. So the "Criteria" if you were looking for February, or 2, would be:
MONTH(@cell) = 2
然而本月函数需要一个IFERROR Statement around it, so it can ignore any blank cells:
IFERROR(MONTH(@cell), "") = 2
Here's a full example with the MONTH
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"), {Date Column}, IFERROR(MONTH(@cell), "") = 2)
Keep in mind if you're looking into multiple sheets you'll need to create multiple formulas:
=COUNTIFS(formula) + COUNTIFS(formula 2) + COUNTIFS(formula 3)
If you have lots of sheets it may be better to adjust your column type to Single Select to be able to use it in a Report, instead.
If you'd like further help with formulas, you may want to start a New Question here in the Community with Screen Captures and either myself or one of our wonderful members will be happy to help!
Cheers,
Genevieve
Categories
<\/p>
=VALUE(IFERROR(JOIN(DISTINCT(COLLECT([Customer PO Amount (USD)]@row:[Customer PO Amount (Local Currency)]@row, [Customer PO Amount (USD)]@row:[Customer PO Amount (Local Currency)]@row, <>\"//www.santa-greenland.com/community/discussion/comment/\"))), \" \"))<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"formulas","name":"Formulas"}]},{"discussionID":109460,"type":"question","name":"IF \/ OR formula then Check a Box","excerpt":"I need a formula that IF a specific column has either 1 of 2 specific choices, then a BOX in another column is checked: =IF(([Study Status]@row = \"Active\/ Open to Accrual\", 1) OR([Study Status]@row = \"In Start-Up\", 1))","snippet":"I need a formula that IF a specific column has either 1 of 2 specific choices, then a BOX in another column is checked: =IF(([Study Status]@row = \"Active\/ Open to Accrual\", 1)…","categoryID":321,"dateInserted":"2023-08-25T13:30:39+00:00","dateUpdated":null,"dateLastComment":"2023-08-25T16:21:27+00:00","insertUserID":9250,"insertUser":{"userID":9250,"name":"Susan Swisher","url":"https:\/\/community.smartsheet.com\/profile\/Susan%20Swisher","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-08-25T16:23:49+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭"},"updateUserID":null,"lastUserID":161714,"lastUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-26T01:04:51+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":9,"countViews":45,"score":null,"hot":3385956126,"url":"https:\/\/community.smartsheet.com\/discussion\/109460\/if-or-formula-then-check-a-box","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109460\/if-or-formula-then-check-a-box","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":109460,"commentID":392616,"name":"Re: IF \/ OR formula then Check a Box","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392616#Comment_392616","dateInserted":"2023-08-25T16:21:27+00:00","insertUserID":161714,"insertUser":{"userID":161714,"name":"Carson Penticuff","url":"https:\/\/community.smartsheet.com\/profile\/Carson%20Penticuff","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/B0Q390EZX8XK\/nBGT0U1689CN6.jpg","dateLastActive":"2023-08-26T01:04:51+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-25T15:13:03+00:00","dateAnswered":"2023-08-25T14:14:39+00:00","acceptedAnswers":[{"commentID":392575,"body":"
Give this a try:<\/p>
=IF(OR([Study Status]@row = \"Active\/Open to Accrual\", [Study Status]@row = \"In Start-Up\"), 1)<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"formulas","name":"Formulas"}]},{"discussionID":109457,"type":"question","name":"Conditional Formatting (modified date not in the last 3 weeks)","excerpt":"I would like to use Conditional Formatting (highlight the entire row yellow) if the modified date is not within the last 3 weeks. So any row that has not been recently updated (last 3 weeks) should be highlighted in yellow. Is this spmething that can be done directly within conditional formatting or should I first create a…","snippet":"I would like to use Conditional Formatting (highlight the entire row yellow) if the modified date is not within the last 3 weeks. So any row that has not been recently updated…","categoryID":321,"dateInserted":"2023-08-25T12:33:14+00:00","dateUpdated":null,"dateLastComment":"2023-08-25T12:40:57+00:00","insertUserID":161267,"insertUser":{"userID":161267,"name":"Jef Snyders","title":"Jef Snyders","url":"https:\/\/community.smartsheet.com\/profile\/Jef%20Snyders","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/4HJAEW33KBD0\/nXEKEZE5EQEV4.jpg","dateLastActive":"2023-08-25T13:32:31+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":null,"lastUserID":161267,"lastUser":{"userID":161267,"name":"Jef Snyders","title":"Jef Snyders","url":"https:\/\/community.smartsheet.com\/profile\/Jef%20Snyders","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/4HJAEW33KBD0\/nXEKEZE5EQEV4.jpg","dateLastActive":"2023-08-25T13:32:31+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":26,"score":null,"hot":3385935251,"url":"https:\/\/community.smartsheet.com\/discussion\/109457\/conditional-formatting-modified-date-not-in-the-last-3-weeks","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/109457\/conditional-formatting-modified-date-not-in-the-last-3-weeks","format":"Rich","tagIDs":[437],"lastPost":{"discussionID":109457,"commentID":392553,"name":"Re: Conditional Formatting (modified date not in the last 3 weeks)","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/392553#Comment_392553","dateInserted":"2023-08-25T12:40:57+00:00","insertUserID":161267,"insertUser":{"userID":161267,"name":"Jef Snyders","title":"Jef Snyders","url":"https:\/\/community.smartsheet.com\/profile\/Jef%20Snyders","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/4HJAEW33KBD0\/nXEKEZE5EQEV4.jpg","dateLastActive":"2023-08-25T13:32:31+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Get Help","url":"https:\/\/community.smartsheet.com\/categories\/get-help"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-08-25T12:40:09+00:00","dateAnswered":"2023-08-25T12:37:47+00:00","acceptedAnswers":[{"commentID":392551,"body":"
There is no direct way to do this. Adding a checkbox helper column with something similar to this and then formatting based on the checkbox is the simplest way. You can even hide the extra column, as there is no reason for it to be visible.<\/p>
=IF([Modified Date]@row < TODAY(-21), 1, 0)<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":321,"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":437,"urlcode":"conditional-formatting","name":"Conditional Formatting"}]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=321&includeChildCategories=1&type%5B0%5D=Question&excludeHiddenCategories=1&sort=-hot&limit=3&expand%5B0%5D=all&expand%5B1%5D=-body&expand%5B2%5D=insertUser&expand%5B3%5D=lastUser&status=accepted","prevURL":null,"currentPage":1,"total":4991,"limit":3},"title":"Trending in Smartsheet Basics","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">