"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
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 101 SQL DataFlows
- 622 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 747 Beast Mode
- 60 App Studio
- 41 Variables
- 687 Automate
- 177 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 397 Distribute
- 114 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 126 Manage
- 123 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 109 Community Announcements
- 4.8K Archive