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.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive