How can use Domos filter to remove response rates less than 15%?
Hello,
I have a data set containing all response ever recorded for several different surveys.
I would like to build a dashboard that allows the user to select a question and see the response rates for that question (accomplished this by creating a variable and using case statements).
The backend > grouped rows by survey to get a count of participants per survey > divided number of responses (case statement variable) by total count of participants per survey. (Tested with only 3 survey questions shown below).
The result in a table format is that I can see the survey and response rate for what ever question selected.
Now, I'd like to filter out surveys where the response rate for that question was less than 15% and get the final average for that.
When in table format, this isn't an issue and surveys with less than 15% response rate for that question are removed.
However, for the gauge, the filter doesn't seem to apply well to the data.
I'm wondering why this is happening and why the max is only .05?
I think it has something to do with the math on the backend. The average (after all response rates <.15 should be around 37.8%….
The gauge average without filtering is correct for the selected question (0.14%).
Best Answer
-
@Matt_DAlto It works in your table because there you are grouping by company. In your gauge card, you're not grouping by anything, so you've only got one number or "row", which is 0.14. It's just the overall percentage. So if you filter to >= 0.15 then nothing will pop up. I think you would need to create an ETL and do group by company to get totals and then get a response rate for each company. Then you could use the resulting dataset for the card.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**
0
Answers
-
@Matt_DAlto It works in your table because there you are grouping by company. In your gauge card, you're not grouping by anything, so you've only got one number or "row", which is 0.14. It's just the overall percentage. So if you filter to >= 0.15 then nothing will pop up. I think you would need to create an ETL and do group by company to get totals and then get a response rate for each company. Then you could use the resulting dataset for the card.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**
0 -
It looks like your average response rate is way less than .37 as most of the companies have null response to company strength. You can try implementing an ifnull(response rate, 1) to see if that gets you closer to where you want to be in your gauge card.
0
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