Single Value Card - Value is 0
I am calculating the NPS score of a survey dataset. Today, the NPS Score is 0. When doing a table, it will show 0.0 but when I switch it to a Single Value Card, it is just blank and does not display 0. I cant find a property to help with allowing 0s. Any ideas?
Best Answers
-
I would put survey type in your filter and filter to 2 and then just have your beast mode do the summing and not the case statement like this:
((sum(
Promoter Count
) - sum(Detractor Count
)) / sum(NPS Count
))*100**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 -
I agree with @MarkSnodgrass's suggestion for the single value card. If you want to show the First Week and Second Week in the same card, then I would suggest adding the week 2 filtering inside each sum using case statements:
((sum(Case WHEN `Survey Type` = '2 Week Survey' THEN `Promoter Count` end) - sum(Case WHEN `Survey Type` = '2 Week Survey' THEN `Detractor Count` end)) / sum(Case WHEN `Survey Type` = '2 Week Survey' THEN `NPS Count` end))*100
0
Answers
-
It's odd that is blank, but the first thing I would try would be go to General - No Data Handling and choose Zero Value and see if that works.
**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 -
Unfortunately that did not do the trick. Still showing blank.
0 -
Are you able to choose an aggregation type in the value, such as SUM? Or is your aggregation done in the beast mode that is being used in the value?
**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.0 -
The aggregation is done in Beast Mode. I have the same beast mode calculation for a different survey type in the same data set and it is working.
0 -
Case WHEN
Survey Type
= '2 Week Survey' THEN((sum(
Promoter Count
) - sum(Detractor Count
)) / sum(NPS Count
))*100END
0 -
I agree with @MichelleH that it would be helpful to see the beast mode. Also, check what you have in the sorting properties. That can throw off what is being displayed since the single value card will only display one row. You could also try adding your beast mode to your filter and filter to where the value is not blank.
**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.0 -
I would put survey type in your filter and filter to 2 and then just have your beast mode do the summing and not the case statement like this:
((sum(
Promoter Count
) - sum(Detractor Count
)) / sum(NPS Count
))*100**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 -
@MarkSnodgrass the filter worked! Thank you!
1 -
I agree with @MarkSnodgrass's suggestion for the single value card. If you want to show the First Week and Second Week in the same card, then I would suggest adding the week 2 filtering inside each sum using case statements:
((sum(Case WHEN `Survey Type` = '2 Week Survey' THEN `Promoter Count` end) - sum(Case WHEN `Survey Type` = '2 Week Survey' THEN `Detractor Count` end)) / sum(Case WHEN `Survey Type` = '2 Week Survey' THEN `NPS Count` end))*100
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive