Best Of
Re: Population calculations in beast mode?
I think that I am following this question correctly. I have taken a dataset that looks like this:
And converted it so that I get one row of data for each date between the DateAdmitted and DateDischarged for each ClientID. For example, my output dataset (filtered for Client "B") has 5 rows of data. Each row representing 1 HeadCount for the given day:
I can now graph the total headcount and still be able to filter for Gender or Age or Facility:
What is happening to the metadata in your python script that is preventing you from filtering on that data?
Re: Request for Topics
I would like to see more training around some of the newer features. For Example, when you release a new chart type, it should come with a training. Not only a training to help users understand how to build the chart, what options are available in the properties, etc... but also a training about why and when this chart should be used over other options. Why did Domo feel this chart was a benefit to their library?
I would also want training around features. For example, Segments. How do you build segments? How do you use them? But also why would you build segment? What situations are the right time to look into setting up segments as a solution?
In my mind, anytime a new feature or chart type is added, there should be at least one training course to answer these kinds of questions.
Re: Connections with other Domo Everywhere / whitelable companies and users
We are in a similar position and have just started using domo and domo everywhere's whitelabeled solution. Would be great to connect 👍
Re: Formula for rounding time to nearest minute
I have a question about your example. Wouldn't line 12 get rounded to a different minute then line 13? Line 12 should be rounded to 01:04 while lines 13-15 should be rounded to 01:05.
Otherwise, I was able to use this formula to get to the nearest minute:
"HH:MM"
CONCAT(LPAD(trim(Trailing '.0' from FLOOR(ROUND((TIME_TO_SEC(`Time`) / 60),0)/60)) ,2,0),':',LPAD(trim(trailing '.0' from (MOD(ROUND((TIME_TO_SEC(`Time`) / 60),0),60))),2,0))
I then used a rank and window tile to get a row number for each "HH:MM" value from the above formula. Then I filtered the data for Row=1 to only return one line of data for each HH:MM.
The idea behind the formula is to convert the time value to seconds. You then divide the number of seconds by 60 to get the number of minutes. This will now have a decimal for the fraction of the minute represented by seconds which can be rounded to get to the "nearest" minute.
Re: Filter to Compare on a table different years but same period of time?
@jaeW_at_Onyx here's a breakdown of how my card is set up that makes it work.
I create a "standard date" beast mode field that takes the date field in the dataset that you need to do YoY on and moves it into the current year.
DATE_ADD(`datereported`, interval (YEAR(CURRENT_DATE())-YEAR(`datereported`)) year)
My year field is just extracting the year from the date field, which can be used for the series (or rows in a pivot table.
YEAR(`datereported`)
I create a quick filter that allows me to easily filter how many years back I want to look at with this beast mode:
YEAR(CURRENT_DATE()) - YEAR(`datereported`)
The date range filter is based off my "standard date" beast mode which is why it will always show the current year in that range, but that year is actually meaningless. The Graph by is more important so you can choose what granularity you want to compare against.
Here's what it looks like as a pivot table.
It proves to be quite flexible using the quick filter to let you decide how many years you want to look at.
Re: Filter to Compare on a table different years but same period of time?
@MarkSnodgrass i was flipping through your tutorial. in your proposed solution the DateFilter is set to This Year + a couple extra years via YOY comparison option.
as best you can tell, is Domo actually applying the DateFilter filter? I'm guessing not b/c Domo ought to be limiting you to either just this year, or the last n years per the DateFilter selection.
@GrantSmith 's approach is a lot more effort to get off the ground, but once you get it, it's a much more extensible and guaranteed to work every time solution, IMHO
Re: Filter to Compare on a table different years but same period of time?
I created a video that shows how you can create a standard date, which then allows you to look at different years next to each other. My video uses a line chart, but you can switch to a pivot table and format the date fields as needed to get the look you want.









