Exclude Categories that total 0
Hello,
I am looking to exclude categories on a pie chart when the total for that category=0. I tried creating a couple different beast modes using sum(`revenue`) over (partition by `department`) but they either do not work as a filter or break the card. I would like this value calculated on the fly because the date grain can be changed by the user and and the ins and outs of revenue may happen on different days.
Screenshot of what I would like to exclude from the chart.
Thank you,
-----------------
Chris
Comments
-
have you try adding `revenue` to the filter as 'is greater than' 0 ?
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'0 -
That's an interesting issue. The problem is that you can't use an aggregate field as a filter.
Have you considered hiding the legend altogether? You could always add in a table or pivot card below it if you still want the data there.
Another option could be to change the card to show the top 5 departments and bucket the rest as "Other"
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0 -
Thanks for the recommendation. I have encountered this issue a few times and I have never been able to filter out those totals and was hoping that one of the much smarter people than me in here had a solution I never contemplated. No user has ever complained about it but I hate looking at a chart with a bunch of totals that are $0 when they have no relevance to the chart.
-----------------
Chris1 -
I believe I have a similar issue - can someone advise if the following chart, which has a COUNT() beastmode as its Y axis value, can be modified to exclude X-Axis values that have a Y-Axis value of 0?
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.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 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