How to get WoW comparison by changing global date filter?
I'm using the comparative gauge chart type. But it only gives me last week vs. 2 weeks ago. If I change the date filter to another month, this comparative gauge chart won't work.
Current chart:
What if I want to check 2nd week of Jan. vs. 1st week of Jan., the card won't work.
last week :
2 weeks ago:
How to fix this?
Best Answer
-
@Joyce The reason this issue occurs is because changing the filter excludes the rows necessary to complete the calculation since your beast modes are written to only calculate results for data from the past two weeks. In other words, when you filter to more than 2 weeks ago there are no rows being included that satisfy the condition of your case statements.
You can get around this by using a date variable in the place of CURRENT_DATE() in your beast modes and hiding the date range selector in your card.
2
Answers
-
@Joyce The reason this issue occurs is because changing the filter excludes the rows necessary to complete the calculation since your beast modes are written to only calculate results for data from the past two weeks. In other words, when you filter to more than 2 weeks ago there are no rows being included that satisfy the condition of your case statements.
You can get around this by using a date variable in the place of CURRENT_DATE() in your beast modes and hiding the date range selector in your card.
2
Categories
- 10.6K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 474 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 214 Visualize
- 259 Beast Mode
- 2.1K Charting
- 12 Variables
- 19 Automate
- 356 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 249 Distribute
- 65 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 191 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive