How do I get the summation of a group of numbers to display?


The table below is a breakdown of the top table -- and it should be displaying the same information.

Could anyone help me understand why this is happening?

Here is one of the Beast modes I'm using for this calculation.

(Top table) It seems to me that I'm only getting one rows worth of data being displayed instead of the summation of the group.

Answers

  • ST_Superman
    ST_Superman Domo Employee

    It looks like you are building a pivot table. You want to make sure that you remove any fields not directly listed in your "rows", "columns", or "values" section from the Sort section of the card analyzer. Make sure that you only sort by fields that are also being shown on the card.

  • Thanks for your comment @ST_-Superman-_ .

    I have removed all or any filtering and I'm not seeing any difference.

  • ST_Superman
    ST_Superman Domo Employee

    @Airbear

    You may want to try adding an else statement to your beastmode then.

    Something like this:

    CASE WHEN `location_completed_timestamp` IS NOT NULL 
    AND `count_id` = MAX(MAX(`count_id`)) OVER (PARTITION BY `cyclecountgroup_id`, `storagename`, `sap`) 
    THEN `actual_quantity` ELSE 0 END