Ignore filter on a calculated field

Hello, I'm wondering if it's possible to create a BeastMode that ignores date filtering...

 

I have a dataset that contains the following information

 

ID#   CUSTOMERNAME   STATE    FullDate    Logins    Errors    %

 

The card I'm building should only display the data from yesterday BUT, I want to add a field that calculates how many times the customer shows up on the list based on the % being over 10 for all time. Below is what I have to calculate the field which works to put a 1 on the current day but does not take into account the rest of the days. 

 

sum(CASE WHEN `%` >= 10 THEN 1 END)

 

Any Assistance would be appreciated.

 

Best Answer

  • user09188
    user09188 Member
    Answer ✓

    I was actually able to accomplish this by using an ETL Grouping process. Appreciate the help. 

Answers

  • Hello,

     

    If you are filtering to yesterday then you will not be able to do what you are looking for via beastmode. You will have to write some syntax in a MySQL flow for a cumulative sum.

     

    It's very easy to do and this article should help you.

     

    https://discourse.looker.com/t/cumulative-sum-in-mysql/807

     

    Thanks,

     

    Brian


    **Please mark "Accept as Solution" if this post solves your problem
    **Say "Thanks" by clicking the "heart" in the post that helped you.
  • user09188
    user09188 Member
    Answer ✓

    I was actually able to accomplish this by using an ETL Grouping process. Appreciate the help.