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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 737 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive