Running Total Beast Mode
Hi DOMO Community,
I am working on a project where I need to look at running totals. I have the following beast mode function written out and it seems to be working properly so far:
Now, I want to try to fill any null cells. My original approach for this was to create a new beast mode called Incurred During Period where I take the Line Amount when it is populated and 0 when it is NULL:
I then used this value in my running total calculation instead of SUM of Line Amount:
However, this did not seem to fill the values in the way I had expected, and I see the exact same table as before the change was made:
Does anyone have any ideas on how I can correctly fill my NULL cells?
Thanks!
Best Answer
-
Makes sense. You might try wrapping an IFNULL function around your entire running total function
IFNULL(
,0)
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1
Answers
-
Have you considered using the Chart Property "Fill empty data cells with 0"? It is under General in the Pivot Table card.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1 -
Hi Mark,
Thanks for the response, but this doesn't quite do what I am looking for. This fills all empty cells with 0, including my running total. I'm less concerned with seeing zeros under incurred during period as I am with seeing the actual running total, even if there was nothing incurred that period.
0 -
Makes sense. You might try wrapping an IFNULL function around your entire running total function
IFNULL(
,0)
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive