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
- 10.5K All Categories
- 3 Connect
- 913 Connectors
- 250 Workbench
- 458 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 182 Visualize
- 249 Beast Mode
- 2.1K Charting
- 11 Variables
- 16 Automate
- 354 APIs & Domo Developer
- 88 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 245 Distribute
- 62 Domo Everywhere
- 242 Scheduled Reports
- 20 Manage
- 41 Governance & Security
- 168 Product Ideas
- 1.2K Ideas Exchange
- 9 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive