Magic ETL

Magic ETL

New User: Calculated Field Sum Error; Cannot find resolution documentation

This is an elementary function, and I appear to be doing it correctly, yet I cannot get the correct outcome. I am using beast mode to add a calculated field, which combines the value of 2 raw data fields. However, the calculated field, no matter what I do, always returns blank values instead of a calculated value. What am I doing wrong here? See screenshots of data table and calcuation. 

 

The calculated field is "Club Access Revenue," which results from adding the "cash" and "credit" fields. Row 1 should equal 22, row 2 rhould equal 22, row 3 should equal 20, etc. But they're all blank.

Tagged:

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In

Best Answer

Answers

  • Contributor

    Hi,

     

    Try this :

     

    SUM(IFNULL(`cash`,0) ) + SUM(IFNULL(`credit`,0) )

     

    Hope this helps, tell me how it goes.

     

     

    Ricardo Granada 

    MajorDomo@Lusiaves

    **If the post solves your problem, mark it by clicking on "Accept as Solution"
    **You can say "Thank you" by clicking the thumbs up in the post that helped you.
  • Thanks for the input. That formula gave me the result of 22+0=924. So, still trying to figure it out. Thanks.

  • Domo Employee
    Answer ✓

    You could try this:

     

    ifnull(`Cash`,0) + ifnull(`Credit`,0)

  • Domo Employee

    What does that data look like under this beastmode?  There must be multiple rows of data for each CheckIn.  If you use the aggregate SUM() function, it is going to total them all up, not just that one row.  

  • This worked. Thank you so much for the help!

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In