如何在报表中包括来自多个工作表的特定父行和子行
你好,我想从多个表创建一个报告,但我想知道是否有办法选择特定的父和子行。
非常感谢你的帮助。
谢谢你!
最好的答案
-
吉纳维芙P。 员工管理
我看到你被标记了@seattlevigilante我的回答没有回答你的问题。你介意从上面的帖子中指出什么有帮助/没有帮助吗?
如果您只想选择非常特定的行并排除其他一些行,但没有为此设置标准(例如,您确切地知道哪些行是重要的,但跨工作表不一致),那么我建议在所有工作表中创建一个helper列。
该列可以是一个复选框列,显示“For Report”或类似的内容,您可以在其中检查希望包含哪些行。然后,可以使用报表中的Filter函数过滤掉未检查的任何行。看到的:在报表上使用过滤器
欢呼,
吉纳维芙
-
吉纳维芙P。 员工管理
您要选择的列是多选择列吗?目前,分组只能应用于单选择列。
另一种方法是创建一个“公制表”,并使用交叉表公式来创建数值计算。听起来您可能想要使用COUNTIFS公式,如果您正在查看Multi Select列,您也可以使用HAS来查看列是否有一个特定的选择。
例如,COUNTIFS是这样工作的:
=COUNTIFS({Column 1}, "Criteria 1", {Column 2}, "Criteria 2")
如果您正在寻找一个多选择列,您的“标准”将是
(@cell,“标准”)
比如:
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"))
然后,如果要查找特定的月份,只要工作表中有Date列,就可以使用Month函数。所以,如果你要找二月,或者二月的“标准”是:
MONTH(@cell) = 2
然而,MONTH函数需要一个IFERROR语句,所以它可以忽略任何空白单元格:
IFERROR(MONTH(@cell), "") = 2
下面是一个完整的月的例子
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"), {Date Column}, IFERROR(MONTH(@cell), "") = 2)
请记住,如果你要查看多个工作表,你需要创建多个公式:
=条件统计(公式) +计数(公式2) +计数(公式3)
如果您有很多工作表,最好将列类型调整为Single Select,以便在报表中使用它。
如果你想在公式方面得到进一步的帮助,你可能想在社区里用屏幕截图开始一个新问题,我或我们的一位优秀成员都会很乐意帮助你!
欢呼,
吉纳维芙
答案
-
报告中目前不支持此功能。如果可以,请提交一份改进请求在Smartsheet的未来发展中考虑到这一点!
同时,另一种解决方案是更改父/子报表的背景颜色,或者使用条件格式区分报表中的父/子报表。请看下面的图片作为示例。
希望这对你有帮助!
谢谢你~
-
吉纳维芙P。 员工管理
我看到你被标记了@seattlevigilante我的回答没有回答你的问题。你介意从上面的帖子中指出什么有帮助/没有帮助吗?
如果您只想选择非常特定的行并排除其他一些行,但没有为此设置标准(例如,您确切地知道哪些行是重要的,但跨工作表不一致),那么我建议在所有工作表中创建一个helper列。
该列可以是一个复选框列,显示“For Report”或类似的内容,您可以在其中检查希望包含哪些行。然后,可以使用报表中的Filter函数过滤掉未检查的任何行。看到的:在报表上使用过滤器
欢呼,
吉纳维芙
-
迈克尔·伯曼 ✭
我也有同样的问题。我有一个主项目计划-在项目计划的父母是小项目,不相关的其他父母。我希望有一份报告能把它们分开来单独展示。我现在能想到的唯一方法是创建一个带有“Flag”的列,并手动将每个任务分配给父母,然后通过该列进行过滤。父和子功能的意义是什么?
- “父母XYZ的孩子是谁?”
- 如果Parent = XYZ并且是CHILD,则显示CHILD
这就是我在报告过滤器中寻找的!
-
你提供的解决方案很有帮助。
但是现在我有另一个要求要实现。
创建该报告是为了在仪表板中显示一些特定的行。但是,现在我需要在同一个仪表板中显示未为报表选择的数据/行中的2个饼状图(例如1个按地区按月划分的雇员图表和2个按月划分的事务类型图表)。我怎样才能做到这一点呢?
如果你不明白,请告诉我。非常感谢你的帮助。
-
吉纳维芙P。 员工管理
正如您所发现的,报表是逐行评估工作表的。在您的场景中,我建议在源工作表中创建一个助手列,以便将来自父“XYZ”的数据带入每个子行,以便每个子行都有一个表示“XYZ”的单元格,您可以在报表中使用它。
这样做的公式是一个简单的PARENT公式,像这样:
=父([任务名称]@row)
您可以将其转换为列公式,使其适用于每一行,然后在报表中使用它。如果您想看屏幕截图示例,请告诉我!
-
吉纳维芙P。 员工管理
根据源数据的设置方式,您可以创建两个不同的report作为每个Chart小部件的源。您可以使用GROUP和SUMMARIZE特性从您的行中创建数字,然后这些数字将成为饼图的数字。
这里有一个关于如何使用分组和摘要的网络研讨会:重新设计的报告与分组和汇总功能
欢呼,
吉纳维芙
-
谢谢你给我回电话。
我确实看了一下网络研讨会,并试图这样做,但它不起作用,因为我想要的列选项无法在组和摘要功能中进行选择。
有什么能帮到我的吗?
您是否有机会在变焦呼叫上提供支持,以便我可以向您展示它的外观以及我想要实现的目标?
谢谢你!
-
吉纳维芙P。 员工管理
您要选择的列是多选择列吗?目前,分组只能应用于单选择列。
另一种方法是创建一个“公制表”,并使用交叉表公式来创建数值计算。听起来您可能想要使用COUNTIFS公式,如果您正在查看Multi Select列,您也可以使用HAS来查看列是否有一个特定的选择。
例如,COUNTIFS是这样工作的:
=COUNTIFS({Column 1}, "Criteria 1", {Column 2}, "Criteria 2")
如果您正在寻找一个多选择列,您的“标准”将是
(@cell,“标准”)
比如:
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"))
然后,如果要查找特定的月份,只要工作表中有Date列,就可以使用Month函数。所以,如果你要找二月,或者二月的“标准”是:
MONTH(@cell) = 2
然而,MONTH函数需要一个IFERROR语句,所以它可以忽略任何空白单元格:
IFERROR(MONTH(@cell), "") = 2
下面是一个完整的月的例子
=COUNTIFS({Employees Column}, "Employee Name", {Region Column}, HAS(@cell, "Region Name"), {Date Column}, IFERROR(MONTH(@cell), "") = 2)
请记住,如果你要查看多个工作表,你需要创建多个公式:
=条件统计(公式) +计数(公式2) +计数(公式3)
如果您有很多工作表,最好将列类型调整为Single Select,以便在报表中使用它。
如果你想在公式方面得到进一步的帮助,你可能想在社区里用屏幕截图开始一个新问题,我或我们的一位优秀成员都会很乐意帮助你!
欢呼,
吉纳维芙
类别
<\/p>
You can send notifications to any valid email address. If you're planning to send alerts or reminders with a link to the sheet, the user will not be able to click the link and access it if they do not have a Smartsheet account and not shared to the sheet.<\/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":[]},{"discussionID":106482,"type":"question","name":"Smartsheet Bridge","excerpt":"Hi, I'm on Enterprise Plan and I'm trying to use Bridge but cannot log in to it. I actually had to dig the login link from the forums because I could not find it anywhere else, and when I try to sign in using my Smartsheet account it says \"Unable to log in with Smartsheet credentials at this time, try using Bridge…","categoryID":321,"dateInserted":"2023-06-15T08:35:55+00:00","dateUpdated":"2023-06-15T08:38:14+00:00","dateLastComment":"2023-06-16T08:51:39+00:00","insertUserID":149908,"insertUser":{"userID":149908,"name":"orad","url":"https:\/\/community.smartsheet.com\/profile\/orad","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!pDFQaXDtqPs!u9_Rl3ztpP0!b22gvzMblTD","dateLastActive":"2023-06-17T07:25:12+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":149908,"lastUserID":8888,"lastUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-06-17T08:06:00+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":33,"score":null,"hot":3373725454,"url":"https:\/\/community.smartsheet.com\/discussion\/106482\/smartsheet-bridge","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106482\/smartsheet-bridge","format":"Rich","tagIDs":[369,448],"lastPost":{"discussionID":106482,"commentID":380976,"name":"Re: Smartsheet Bridge","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/380976#Comment_380976","dateInserted":"2023-06-16T08:51:39+00:00","insertUserID":8888,"insertUser":{"userID":8888,"name":"Andrée Starå","title":"Smartsheet Expert Consultant & Partner | Workflow Consultant \/ CEO @ WORK BOLD","url":"https:\/\/community.smartsheet.com\/profile\/Andr%C3%A9e%20Star%C3%A5","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/0PAU3GBYQLBT\/nXWM7QXGD6464.jpg","dateLastActive":"2023-06-17T08:06:00+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-16T04:53:08+00:00","dateAnswered":"2023-06-15T09:36:11+00:00","acceptedAnswers":[{"commentID":380710,"body":"
Hi @orad<\/a> <\/p> I hope you're well and safe!<\/p> Bridge is a Premium Add-on\/app that needs to be acquired separately. It's not included with the Enterprise license.<\/p> Here's a possible workaround or workarounds <\/strong><\/p> I recently developed an SMS solution for a client using 3rd-party services, Zapier and Twilio.<\/p> Is that an option?<\/p> I hope that helps!<\/p> Be safe, and have a fantastic week!<\/p> Best,<\/p> Andrée Starå<\/strong><\/a> | Workflow Consultant \/ CEO @ WORK BOLD<\/strong><\/a><\/p> ✅Did my post(s) help or answer your question or solve your problem? Please support the Community by <\/em>marking it Insightful\/Vote Up, Awesome, or\/and as the accepted answer<\/em><\/strong>. It will make it easier for others to find a solution or help to answer!<\/em><\/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":369,"urlcode":"bridge-by-smartsheet","name":"Bridge"},{"tagID":448,"urlcode":"workflows-in-smartsheet","name":"Workflows in Smartsheet"}]},{"discussionID":106462,"type":"question","name":"Why do i need \"admin approval\" to use the smartsheet app in teams?","excerpt":"I'm trying to add a Smartsheet to a teams channel as a tab and I get the error: Admin approval needed. Smarsheet needs admin approval to enable channel level sharing for this app. You may continue without this feature, or, if you're an admin you may use the button below to grant approval. But hitting the \"grant…","categoryID":321,"dateInserted":"2023-06-14T20:14:51+00:00","dateUpdated":null,"dateLastComment":"2023-06-14T20:43:43+00:00","insertUserID":161989,"insertUser":{"userID":161989,"name":"PGoodwin86","title":"Sr. Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/PGoodwin86","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-14T20:41:48+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":161989,"lastUser":{"userID":161989,"name":"PGoodwin86","title":"Sr. Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/PGoodwin86","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-14T20:41:48+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":2,"countViews":40,"score":null,"hot":3373550314,"url":"https:\/\/community.smartsheet.com\/discussion\/106462\/why-do-i-need-admin-approval-to-use-the-smartsheet-app-in-teams","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/106462\/why-do-i-need-admin-approval-to-use-the-smartsheet-app-in-teams","format":"Rich","lastPost":{"discussionID":106462,"commentID":380649,"name":"Re: Why do i need \"admin approval\" to use the smartsheet app in teams?","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/380649#Comment_380649","dateInserted":"2023-06-14T20:43:43+00:00","insertUserID":161989,"insertUser":{"userID":161989,"name":"PGoodwin86","title":"Sr. Project Manager","url":"https:\/\/community.smartsheet.com\/profile\/PGoodwin86","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-06-14T20:41:48+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Using Smartsheet","url":"https:\/\/community.smartsheet.com\/categories\/using-smartsheet"},{"name":"Smartsheet Basics","url":"https:\/\/community.smartsheet.com\/categories\/smartsheet-basics%2B"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2023-06-14T20:42:10+00:00","dateAnswered":"2023-06-14T20:41:29+00:00","acceptedAnswers":[{"commentID":380647,"body":" You will have to get an admin of Teams to allow the Smartsheet for Teams app in the admin console of Teams.<\/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":[]}],"initialPaging":{"nextURL":"https:\/\/community.smartsheet.com\/api\/v2\/discussions?page=2&categoryID=341&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":5380,"limit":3},"title":"Trending in Using Smartsheet","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">