Creating a date range in Beast Mode
Hi Community
So I have 6 months data, which i need to present in weekly using bar graph. When i do so its giving me as Week 1, Week 2 ..etc , but we need with a date range like from 1 Jan to 7 Jan
Can anyone please help me to create a beast mode to fix this issue
Best Answer
-
You can also switch the axis to be displayed as a date by going to: Admin > Company Settings > Company Overview > Cards > Week display > Week Dates (1/15/2001)
This will change all cards graphed by week to show as a date instead of week number.
If you don't want to do that, you can change from Week number to a custom date format by: Chart Properties > Category scale (x) > Date output format
I also like @trafalger solution if you want a range. The risk there is that sorting could get jacked up since it will be a string and may require additional formatting to sort properly.
If you are graphing by week, in my opinion the end date of the week isn't really needed.
If I solved your problem, please select "yes" above
1
Answers
-
you could do like a CONCAT(MIN(YourDate), '-', MAX(YourDate)).
0 -
Hey Raj
Simply create an excel sheet with two columns:
- every day sequentially that you want to include in your data.
- The grouping for each of the days.
Add this excel sheet to your domo dataset and join your other data onto it to get values for the days and weeks with your custom grouping
0 -
If you're going to go this route, use the Domo Date Dimension so you don't have to keep updating the spreadsheet and calculate the groupings dynamically.
1 -
Here is an example dataset with the custom week grouping:
Feel free to change the week group from 1,2,3,… to whatever you want to be displayed on your bar chart.
0 -
0
-
You can also switch the axis to be displayed as a date by going to: Admin > Company Settings > Company Overview > Cards > Week display > Week Dates (1/15/2001)
This will change all cards graphed by week to show as a date instead of week number.
If you don't want to do that, you can change from Week number to a custom date format by: Chart Properties > Category scale (x) > Date output format
I also like @trafalger solution if you want a range. The risk there is that sorting could get jacked up since it will be a string and may require additional formatting to sort properly.
If you are graphing by week, in my opinion the end date of the week isn't really needed.
If I solved your problem, please select "yes" above
1 -
Whoa, I didn't know there was a Date output format there!
0
Categories
- All Categories
- 1.9K Product Ideas
- 1.9K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 302 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 104 SQL DataFlows
- 637 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 761 Beast Mode
- 65 App Studio
- 42 Variables
- 702 Automate
- 182 Apps
- 458 APIs & Domo Developer
- 52 Workflows
- 10 DomoAI
- 39 Predict
- 16 Jupyter Workspaces
- 23 R & Python Tiles
- 401 Distribute
- 116 Domo Everywhere
- 277 Scheduled Reports
- 8 Software Integrations
- 132 Manage
- 129 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 111 Community Announcements
- 4.8K Archive