Omitting Weekends from Daily Counts
Is there anyway I can easily exclude weekends and only show week days in a vertical bar chart of twitter post counts? For example I want to check we are posting at least 3 times a day on twitter, so have the goal set at three, but the chart shows all days including weekends.
Thanks.
Comments
-
Yes , you can do it through a beastmode.
CASE WHEN DAYNAME(`TransactionDate`) IN ('Saturday', 'Sunday') THEN 'NO' ELSE 'YES' END
Then you can add this as a filter and it will get rid off the Saturdays and Sundays
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 -
Base on the screenshot it is working , bars are showing zeros for September 3 , 4 , 10 , 11 etc which are Saturdays and Sundays. so, it is not including weekends for the counts.
now, to make a date display as name of days , that would need to be created as a different beastmode.
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 -
Thanks for reply - yes correct but I don't want them on the graph, its those I want removed so the graph only shows data for weekdays.
Thanks.
0 -
Yes , I think that you added the code I gave you to your count beastmode. add it as a filter and that will force the chart to display only weekdays and hide the weekends. but since the date is present in your data the chart might still make it show up.
have you tried created a data flow that only includes weekdays ? that might work
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
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 657 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 815 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 775 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 81 Workflows
- 23 Code Engine
- 40 AI and Machine Learning
- 20 AI Chat
- 1 AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 144 Manage
- 140 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive