I would like to show a trend using only Fridays
Best Answer
-
You could use the DAYOFWEEK() function to do this.
https://www.w3schools.com/sql/func_mysql_dayofweek.asp
A filter for this might look like:
CASE WHEN DAYOFWEEK(`date_column`) = 6 THEN 1 ELSE 0 END
Then filter it on is equal to 1.
That will only allow Friday dates in your card.
Hope that helps,
Valiant
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.2
Answers
-
You could use the DAYOFWEEK() function to do this.
https://www.w3schools.com/sql/func_mysql_dayofweek.asp
A filter for this might look like:
CASE WHEN DAYOFWEEK(`date_column`) = 6 THEN 1 ELSE 0 END
Then filter it on is equal to 1.
That will only allow Friday dates in your card.
Hope that helps,
Valiant
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.2 -
That worked! Thank you for the help.
1
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 472 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 202 Visualize
- 255 Beast Mode
- 2.1K Charting
- 12 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 179 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive