User retention Beast Mode Help
Hello, I'm looking at my dataset on our platform users and am trying to make a domo card that shows the "quick ratio" for each month, which is (New + Reactivated) / Churn.
My dataset has the following columns: Month / Active Users / New Users / Reactivated Users
For example for Month 2, Churn is found by:
Month 1 Active Users + Month 2 New + Month 2 Reactivated - Month 2 Active Users
or the same:
-1 * (Month 2 Active users - Month 2 New - Month 2 Reactivated - Month 1 Active Users)
How can I make a beast mode to reflect the quick ratio? I tried what's below but am just getting a blank result, even though it says the formula is ok.
case when `month` = 2 then -1*(`activeusers` - `New + Reactivated Users` - (case when `month` = 1 then `activeusers` end)) end
...I'd then continue the when statements for each month going onward... when month = 3 then ....
Thanks in advance!
Comments
-
I may be mistaken, but based on the columns present in your dataset, the BeastMode calculation is using 'New + Reactivated Users' rather than 'New Users' + 'Reactivated Users'. I haven't yet given this a try but I will play around with it now to see if this syntax was the issue or if it's the calculation.
Reagrds
0 -
Hi thank you for the response! I'm sorry I didn't explain this, the dataset actually has a fifth column called 'New + Reactivated Users' so I went ahead and used that instead, but definitely I could split it up as you wrote. Thanks for your help.
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Data Connections
- 1.3K Connectors
- 309 Workbench
- 17 Cloud Integrations
- Data & ETL
- 2.3K Magic ETL
- 120 SQL DataFlows
- 666 Datasets
- Visualize & Apps
- 90 App Studio
- 198 Pro-code Components
- 2.6K Charting & Analyzer
- 873 Calculations & Variables (Beast Mode)
- AI & Data science
- 23 Domo AI & AI Chat
- 4 Managing AI
- 18 Jupyter Workspaces
- Automate
- 122 Workflows
- Alerts
- Distribute
- 118 Domo Everywhere
- 284 Reporting
- Manage
- 145 Governance & Security
- 489 APIs
- 11 Add-ins & Plugins
- 13 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 118 Community Announcements
- 5K Archive