Expand my Community achievements bar.

Wondering how Workfront Proof works? Join our AMA on May 8th and ask our Community experts!

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

Grouping by a calculated column

Avatar

Level 2
Title says it all, can it be done? P. Phillip Rinehart New York University
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

5 Replies

Avatar

Level 10
Hi Phillip, I don't think you can group by a calculated column but I'm optimistic this might work. If not, you'll probably need that calculation on the column to live in a calculated field on a custom form and then group by the value, which also gives you charting if you need it. I'd try putting your column's valueexpression into this format: group.0.displayname=Group Name group.0.valueexpression=CALCULATION_HERE group.0.valueformat=HTML textmode=true Let us know how it goes! Narayan Raum "https://suntrustedo.my.workfront.com/dashboard/view?ID=5c1bf1f90046e70adeecf882731a47b9"> Workfront Center of Excellence Delivery Lead Enterprise Data & Governance Execution (EDGE) SunTrust Bank

Avatar

Level 2
Hmmm, o.k. I'm not sure how this would work in practice, as I'm using the case statement, like this: case.0.comparison.icon=false case.0.comparison.leftmethod=project:name case.0.comparison.lefttext=project:name case.0.comparison.operator=cicontains case.0.comparison.operatortype=string case.0.comparison.righttext=Ongoing case.0.comparison.truetext=LLLLL and so forth. There is no value expression to subsitute. P. Phillip Rinehart New York University

Avatar

Level 10
Your valueexpression might be: IF(CONTAINS("Ongoing",{project}.{name}),"LLLLLL","Other text") I was able to use this valueexpression in a report: And it worked: Narayan Raum "https://suntrustedo.my.workfront.com/dashboard/view?ID=5c1bf1f90046e70adeecf882731a47b9"> Workfront Center of Excellence Delivery Lead Enterprise Data & Governance Execution (EDGE) SunTrust Bank

Avatar

Level 2
Perfect, worked like a charm. Is there a way to expose this so the chart can use the grouping? Right now it isn't available, or rather if I use it, an error is thrown. Phillip Rinehart New York University

Avatar

Level 10
For this to be a chart, you would have to perform the calculation on the object's custom form in a calculated field. Narayan Raum "https://suntrustedo.my.workfront.com/dashboard/view?ID=5c1bf1f90046e70adeecf882731a47b9"> Workfront Center of Excellence Delivery Lead Enterprise Data & Governance Execution (EDGE) SunTrust Bank