"An issue has occurred" When try to change the date range in Analyzer

Hi,
For all my cards, I am not able to change date range in the analyzer. The only date range I could use is "All Time", and if I selet any other date ranges, the error message wil show up.
Is there something wrong in my settings?
Thank you so much!
Best Answer
-
I think your issue is the format of your Date Field. In your data flow, you want use the function "Set Column Type". Set your Date column to a date format. This is how the analyzer will recognize the field as a date. I am providing a screenshot of the setting I used for one of my date fields.
I hope this helps! If it does, please mark it as a solution. ?
DataMaven
Breaking Down Silos - Building Bridges
**Say "Thanks" by clicking a reaction in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"3
Answers
-
I think your issue is the format of your Date Field. In your data flow, you want use the function "Set Column Type". Set your Date column to a date format. This is how the analyzer will recognize the field as a date. I am providing a screenshot of the setting I used for one of my date fields.
I hope this helps! If it does, please mark it as a solution. ?
DataMaven
Breaking Down Silos - Building Bridges
**Say "Thanks" by clicking a reaction in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"3 -
Agreed @DataMaven
Good catch. Domo will display the data type next to the card when building a card. A string field will have a "T" and a date field will have a calendar.
If you don't want to fix from inside a dataflow, you could use a beastmode to change the data type for this card:
You can also use DATE_FORMAT().
Here is a knowledge base article on date formats.
Good luck @user006658 Let us know if you have more questions.
2 -
@user006658 - Did adjusting the format fix your issue? If so, please mark my message as a soution. Thanks!
@ST_-Superman-_ - Thanks for adding additional context! ?
DataMaven
Breaking Down Silos - Building Bridges
**Say "Thanks" by clicking a reaction in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
Thank you so much for your help! ? And the link you shared is really useful! Thanks!
1 -
Yes, it worked out! Thank you so much!
Just a quick related question - after the date range was fixed, I start to have a date aggrefation problem. For example, when I select "this quarter", instead of showing 3 bars (Jan, Feb, Mar), it gives me this x-axis:
Do you have any thoughts on how to fix this? Thank you so much!
0 -
make sure the 'Group by' is set to Month.
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'1
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 7 Cloud Amplifier
- 9 Federated
- 3K Transform
- 114 SQL DataFlows
- 654 Datasets
- 2.2K Magic ETL
- 4.1K Visualize
- 2.5K Charting
- 807 Beast Mode
- 80 App Studio
- 44 Variables
- 762 Automate
- 189 Apps
- 480 APIs & Domo Developer
- 75 Workflows
- 18 DomoAI
- 40 Predict
- 17 Jupyter Workspaces
- 23 R & Python Tiles
- 408 Distribute
- 119 Domo Everywhere
- 279 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 47 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive