Make blanks 0s in Sumo pivot
In excel there is an option you can set on pivot tables to display 0 for null fields. Is there a simialr setting in Domo for Sumo charts?
Best Answer
-
I dont think there is an option in the pivot card to display zero if the value is null.
If your Product name does not change that much, you should be able to replicate the sumo card using table card. Use the [Created At] in the first column of the card and for the rest use a beast mode to do calculation for the product.
Here is the ex:
Option 1 : IFNULL(SUM(CASE WHEN Product = 'Altalink B8075' THEN 1 END),0)
OR
Option 2:
SUM(CASE WHEN Product = 'Altalink B8075' THEN 1 ELSE 0 END)
You can use the same logic for rest of the product name. As I said, Its not feasible if your product name changes or new one gets added frequently. But, If it relatively stays the same then this works fine. I have used for many reporting and it works like a charm.
Hope it helps!
1
Answers
-
Most likely in Excel you could do that, though I don't know how. In Domo you could use the isnull function in a beastmode.
IFNULL
Used in logical statements in which you want to specify a replacement for null values.
IFNULL('Values',0)
**Make sure to like any users posts that helped you and accept the ones who solved your issue.**0 -
I dont think there is an option in the pivot card to display zero if the value is null.
If your Product name does not change that much, you should be able to replicate the sumo card using table card. Use the [Created At] in the first column of the card and for the rest use a beast mode to do calculation for the product.
Here is the ex:
Option 1 : IFNULL(SUM(CASE WHEN Product = 'Altalink B8075' THEN 1 END),0)
OR
Option 2:
SUM(CASE WHEN Product = 'Altalink B8075' THEN 1 ELSE 0 END)
You can use the same logic for rest of the product name. As I said, Its not feasible if your product name changes or new one gets added frequently. But, If it relatively stays the same then this works fine. I have used for many reporting and it works like a charm.
Hope it helps!
1 -
Thank you very much for the help
0 -
Great. Glad to Help!
0
Categories
- 10.5K All Categories
- 6 Connect
- 916 Connectors
- 250 Workbench
- 463 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 189 Visualize
- 252 Beast Mode
- 2.1K Charting
- 11 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 246 Distribute
- 62 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 172 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive