How to create calculated items (Not calculated field) in pivot table dashboard

Hi All,

In excel, in pivot table we can create new row with the help of Calculated item option.

Is it possible in Domo in Similar way or any formula to create new row in pivot table dashboard?. Attached Excel file for your reference.

If anyone help me with screenshots, I will be more happy. Thank you so much.

Best Answer

  • trafalger
    trafalger Coach
    Answer ✓

    @Rafi1470 you could expand the beast mode a bit like this:

    SUM(case when Particulars = 'Sales' then Amt else 0 end) - SUM(case when Particulars = 'Cost' then Amt else 0 end)

    And then group it by order or invoice or whatever and it should give you profit!

Answers

  • If your dataset in Domo contains the fields Sales and Cost, you would create a beast mode in Analyzer that is simply Sales - Cost and label it Profit. You would then drag that into your pivot table rows or values section

    **Check out my Domo Tips & Tricks Videos

    **Make sure to <3 any users posts that helped you.
    **Please mark as accepted the ones who solved your issue.
  • Hi Mark,

    Thanks for your reply.

    I have sales and cost in same columns. Now how to do it. I have many similar cases.

    Particulars

    Amt

    Sales

    100

    Cost

    70

  • trafalger
    trafalger Coach
    Answer ✓

    @Rafi1470 you could expand the beast mode a bit like this:

    SUM(case when Particulars = 'Sales' then Amt else 0 end) - SUM(case when Particulars = 'Cost' then Amt else 0 end)

    And then group it by order or invoice or whatever and it should give you profit!