使用度量和多个数据集的堆叠条形图

EliseB
EliseB
编辑05/26/22 公式和函数
内容Metrics.PNG

你好,我正在努力从多个数据集收集数据一起表示为堆叠条形图。我有大型电子表格,使用下拉选项来获取我需要的数据,如客户旅程和影响评级(高、中、低),这些表格中还有很多其他数据,它们超过了100,000的限制,所以我在插入数据引用时尽量具体(很难设置表格,这超出了我的控制范围)。

根据我在这里读到的东西,我创建了一个度量表,其中我需要提取机构的特定信息,并使用COUNTIFS公式来计算每个客户旅程的高、中、低影响的数量。我正在努力拉数据,有点沮丧,所有这些工作都需要一个仪表板上的瓷砖,然后需要为几个机构复制。

我很确定我对这个公式非常满意,而且我花了太多的时间来解决这个问题!

有人能帮帮我吗?

谢谢,

伊莉斯

标签:

最佳答案

  • 吉纳维芙P。
    吉纳维芙P。 员工管理
    ✓回答

    @EliseB

    如果我对您的理解正确的话,您应该有多个表格列出了特定的客户旅程,然后还有一个以文本形式指示影响评级的列。

    如果是这样,那么使用COUNTIFS就对了!您将需要一个COUNTIFS公式每单,然后把它们加在一起就得到总数。


    例如:

    =COUNTIFS({客户旅程列表1},[客户旅程]@row,{影响评级表1},“高”)

    然后你可以在第二张表上重复这个步骤,并把它们加在一起:

    =条件统计(表1) +计数(表2) +计数(表3


    =COUNTIFS({客户旅程列表1},[客户旅程]@row,{影响评级表1},“高”)+ COUNTIFS({客户旅程列表2},[客户旅程]@row,{影响评级表2},“高”)+ COUNTIFS({客户旅程列表3},[客户旅程]@row,{影响评级表3},“高”)


    一旦你为“高”建立了这个公式,你就可以把同样的公式复制到下一列,把“高”调整为“中等”等等。让我知道这是否有意义,是否适合你。

    欢呼,

    吉纳维芙

答案

  • 我已经意识到我可能需要一种查找和求和函数,查找客户旅程列中的值,然后返回与高/客户旅程参数匹配的所有工作表中总高影响的总和。有人有什么建议吗?

  • 吉纳维芙P。
    吉纳维芙P。 员工管理
    ✓回答

    @EliseB

    如果我对您的理解正确的话,您应该有多个表格列出了特定的客户旅程,然后还有一个以文本形式指示影响评级的列。

    如果是这样,那么使用COUNTIFS就对了!您将需要一个COUNTIFS公式每单,然后把它们加在一起就得到总数。


    例如:

    =COUNTIFS({客户旅程列表1},[客户旅程]@row,{影响评级表1},“高”)

    然后你可以在第二张表上重复这个步骤,并把它们加在一起:

    =条件统计(表1) +计数(表2) +计数(表3


    =COUNTIFS({客户旅程列表1},[客户旅程]@row,{影响评级表1},“高”)+ COUNTIFS({客户旅程列表2},[客户旅程]@row,{影响评级表2},“高”)+ COUNTIFS({客户旅程列表3},[客户旅程]@row,{影响评级表3},“高”)


    一旦你为“高”建立了这个公式,你就可以把同样的公式复制到下一列,把“高”调整为“中等”等等。让我知道这是否有意义,是否适合你。

    欢呼,

    吉纳维芙

  • 谢谢吉纳维芙,

    由于报告和仪表板的数量和紧迫的时间线,我决定采用一种不同的方式,使用饼图和列来分割数据,使用预先存在的报告,以便在有更多时间时对其进行细化!

    感谢这些细节,我会保存它并在我们想重新审视这个选项时参考

帮助文章参考资料欧宝体育app官方888

想要直接在智能表中练习使用公式吗?

请查看公式手册模板!
DATE(2020, 1, 1), [IRRF RECEIVED]@row = 0), [IMMUNISATION INCIDENT REPORT FORM SENT]@row + 10, IF(AND([IMMUNISATION INCIDENT REPORT FORM SENT]@row > DATE(2020, 1, 1), [IRRF…","categoryID":322,"dateInserted":"2022-12-05T10:10:21+00:00","dateUpdated":null,"dateLastComment":"2022-12-06T05:51:33+00:00","insertUserID":141269,"insertUser":{"userID":141269,"name":"Fialko66","url":"https:\/\/community.smartsheet.com\/profile\/Fialko66","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-12-06T05:52:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":141269,"lastUser":{"userID":141269,"name":"Fialko66","url":"https:\/\/community.smartsheet.com\/profile\/Fialko66","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-12-06T05:52:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":39,"score":null,"hot":3340543314,"url":"https:\/\/community.smartsheet.com\/discussion\/98394\/worday-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/98394\/worday-formula","format":"Rich","lastPost":{"discussionID":98394,"commentID":353244,"name":"Re: WORDAY FORMULA","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/353244#Comment_353244","dateInserted":"2022-12-06T05:51:33+00:00","insertUserID":141269,"insertUser":{"userID":141269,"name":"Fialko66","url":"https:\/\/community.smartsheet.com\/profile\/Fialko66","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-12-06T05:52:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2022-12-06T05:54:52+00:00","dateAnswered":"2022-12-05T19:01:39+00:00","acceptedAnswers":[{"commentID":353185,"body":"

You would drop it in in place of <\/p>

[Date Column]@row + 10<\/p>


<\/p>

Everything else should stay the same.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-12-06 05:54:52","updateUser":{"userID":141269,"name":"Fialko66","url":"https:\/\/community.smartsheet.com\/profile\/Fialko66","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2022-12-06T05:52:15+00:00","banned":0,"punished":0,"private":false,"label":"✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","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":98409,"type":"question","name":"I have a formula that does not work now because of the new year.","excerpt":"This formula has been working just fine until the month of December and now returns #invalid Data Type\" I assume it is because it is looking for dates within this calendar year and not next calendar year? Does anyone have any suggestions on how I can fix this problem? The formula looks at the Determination Date and then…","categoryID":322,"dateInserted":"2022-12-05T16:45:56+00:00","dateUpdated":null,"dateLastComment":"2022-12-05T19:43:51+00:00","insertUserID":126337,"insertUser":{"userID":126337,"name":"Christopher Flemings","url":"https:\/\/community.smartsheet.com\/profile\/Christopher%20Flemings","photoUrl":"https:\/\/lh3.googleusercontent.com\/-6uhStWCmgRc\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rcm-Jq0CJqPMi7PAdar4X8wZHjMlw\/mo\/photo.jpg","dateLastActive":"2022-12-05T19:43:02+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"updateUserID":null,"lastUserID":126337,"lastUser":{"userID":126337,"name":"Christopher Flemings","url":"https:\/\/community.smartsheet.com\/profile\/Christopher%20Flemings","photoUrl":"https:\/\/lh3.googleusercontent.com\/-6uhStWCmgRc\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rcm-Jq0CJqPMi7PAdar4X8wZHjMlw\/mo\/photo.jpg","dateLastActive":"2022-12-05T19:43:02+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":5,"countViews":28,"score":null,"hot":3340531187,"url":"https:\/\/community.smartsheet.com\/discussion\/98409\/i-have-a-formula-that-does-not-work-now-because-of-the-new-year","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/98409\/i-have-a-formula-that-does-not-work-now-because-of-the-new-year","format":"Rich","lastPost":{"discussionID":98409,"commentID":353207,"name":"Re: I have a formula that does not work now because of the new year.","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/353207#Comment_353207","dateInserted":"2022-12-05T19:43:51+00:00","insertUserID":126337,"insertUser":{"userID":126337,"name":"Christopher Flemings","url":"https:\/\/community.smartsheet.com\/profile\/Christopher%20Flemings","photoUrl":"https:\/\/lh3.googleusercontent.com\/-6uhStWCmgRc\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rcm-Jq0CJqPMi7PAdar4X8wZHjMlw\/mo\/photo.jpg","dateLastActive":"2022-12-05T19:43:02+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2022-12-05T19:15:44+00:00","dateAnswered":"2022-12-05T19:11:41+00:00","acceptedAnswers":[{"commentID":353196,"body":"

@Christopher Flemings<\/a> <\/p>

=IF([CONDITIONAL LICENCE]@row, DATE(if(MONTH([Determination Date]@row)=12,YEAR([Determination Date]@row)+1,YEAR([Determination Date]@row)), MONTH([Determination Date]@row) + 1, DAY([Determination Date]@row)), \"//www.santa-greenland.com/community/discussion/91512/\")<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-12-05 19:15:44","updateUser":{"userID":126337,"name":"Christopher Flemings","url":"https:\/\/community.smartsheet.com\/profile\/Christopher%20Flemings","photoUrl":"https:\/\/lh3.googleusercontent.com\/-6uhStWCmgRc\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rcm-Jq0CJqPMi7PAdar4X8wZHjMlw\/mo\/photo.jpg","dateLastActive":"2022-12-05T19:43:02+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","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":98391,"type":"question","name":"Help w\/multiple AND NOT ISBLANK date field formula","excerpt":"Hi team - I have 6 date column fields that are automatically formatted (record a date) when a Status field changes. Let's just call those columns: Date1 Date2 Date3 Date4 Date5 Date6 I created a check box \"helper column\" that I'd like to create a formula that looks across those fields to determine if ALL of them have a…","categoryID":322,"dateInserted":"2022-12-04T15:40:46+00:00","dateUpdated":null,"dateLastComment":"2022-12-05T14:52:40+00:00","insertUserID":118864,"insertUser":{"userID":118864,"name":"jmo","title":"","url":"https:\/\/community.smartsheet.com\/profile\/jmo","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!g0lA5zVbOLw!-wfAd_lcHz4!voKaS5U1cZv","dateLastActive":"2022-12-05T14:51:27+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"updateUserID":null,"lastUserID":118864,"lastUser":{"userID":118864,"name":"jmo","title":"","url":"https:\/\/community.smartsheet.com\/profile\/jmo","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!g0lA5zVbOLw!-wfAd_lcHz4!voKaS5U1cZv","dateLastActive":"2022-12-05T14:51:27+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":4,"countViews":30,"score":null,"hot":3340422806,"url":"https:\/\/community.smartsheet.com\/discussion\/98391\/help-w-multiple-and-not-isblank-date-field-formula","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/98391\/help-w-multiple-and-not-isblank-date-field-formula","format":"Rich","lastPost":{"discussionID":98391,"commentID":353142,"name":"Re: Help w\/multiple AND NOT ISBLANK date field formula","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/353142#Comment_353142","dateInserted":"2022-12-05T14:52:40+00:00","insertUserID":118864,"insertUser":{"userID":118864,"name":"jmo","title":"","url":"https:\/\/community.smartsheet.com\/profile\/jmo","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!g0lA5zVbOLw!-wfAd_lcHz4!voKaS5U1cZv","dateLastActive":"2022-12-05T14:51:27+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"attributes":{"question":{"status":"accepted","dateAccepted":"2022-12-05T14:51:25+00:00","dateAnswered":"2022-12-04T15:45:20+00:00","acceptedAnswers":[{"commentID":353088,"body":"

Hey @jmo<\/a> <\/p>

Are your date fields contiguous (all side by side?). I'm assuming they are. If not, each date field will have to be added to the COUNTIFS individually<\/p>

=IF(COUNTIFS([Date1]@row:[Date6]@row, ISDATE(@cell))=6, 1)<\/p>

Will this work for you?<\/p>

Kelly<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question","log":{"dateUpdated":"2022-12-05 14:51:25","updateUser":{"userID":118864,"name":"jmo","title":"","url":"https:\/\/community.smartsheet.com\/profile\/jmo","photoUrl":"https:\/\/aws.smartsheet.com\/storageProxy\/image\/images\/u!1!g0lA5zVbOLw!-wfAd_lcHz4!voKaS5U1cZv","dateLastActive":"2022-12-05T14:51:27+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}}},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","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":[]}],"title":"Trending in Formulas and Functions ","subtitle":null,"description":null,"noCheckboxes":true,"containerOptions":[],"discussionOptions":[]}">