At Risk Report with parent and only some select rows

Options
LMK
LMK ✭✭
edited 12/09/19 in Formulas and Functions

Can someone please assist with reporting at risk line items?  I have parent/child hierarchy and want to only report those parents that are over budget and only the line items under that parent that have fees greater than 0.

Capture.PNG

Comments

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Options

    Hi,

    Can you describe your process in more detail and maybe share the sheet(s) or some screenshots? That would make it easier to help. (share too, andree@getdone.se)

    Have a fantastic week!

    Best,

    Andrée Starå

    Workflow Consultant @ Get Done Consulting

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Options

    There are a few ways to do this. The easiest way would be to use a checkbox column and write an IF statement to establish your criteria. You could then build your report to pull all rows where the box is checked.

     

    =IF(AND(COUNT(CHILDREN([Item Name Column]@row)) > 0, [Actual Cost Column]@row > [Budget Column]@row), 1, IF(AND(COUNT(CHILDREN([Item Name Column]@row)) = 0, [Total Column]@row > 0), 1))

     

    First it will look to see if the row has any children rows. If it does and the Actual is greater than the Budget, it will check the box.

     

    If the row does not have any children rows (meaning it is itself a child row) and the Total is greater than 0, it will check the box.

     

    You can then build your report to pull all rows where the box is checked, and it will automatically be sorted with the parent row above the children rows.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!