"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.
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman2 -
@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.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 278 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 89 SQL DataFlows
- 557 Datasets
- 2K Magic ETL
- 3.3K Visualize
- 2.3K Charting
- 571 Beast Mode
- 11 App Studio
- 27 Variables
- 579 Automate
- 141 Apps
- 414 APIs & Domo Developer
- 23 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 352 Distribute
- 92 Domo Everywhere
- 258 Scheduled Reports
- 2 Software Integrations
- 92 Manage
- 89 Governance & Security
- 9 Product Release Questions
- Community Forums
- 42 Getting Started
- 28 Community Member Introductions
- 86 Community Announcements
- 4.8K Archive