Best Of
Re: Use an existing dataflow as a template???
I think we've settled on providing (configured) JSON string via an automated email as part of a workflow connected to an Intake form, with instructions only how to paste directly into a new Magic ETL and create it themselves. The new workflow capabilities in Domo are making this possible, with realatively easy setup.
Re: Ignore some page filters in cards or pages
You can use filter cards, instead of page filters. If you leverage filter cards then you can define which cards on the page those filter cards will interact with.
Re: Ignore some page filters in cards or pages
I did specify that the option was only for filter cards, and not page filters:
Re: Allow sorting of quick filters
I would actually like the ability to set the order. Sometimes you would prefer to not have them in either ascending or descending order. In my case, we have categories that we would like to see in a specific order and that does not align alphabetically. Would be nice to place the categories in the order I want to see them in the list.
Re: Creating an Artificial downtime for maintenance for only week and work hours
@gbrown this was a fun problem to dive into.
Unfortunately, I do not believe this can be resolved with a calculated field. I used magic ETL. If you have access to the community Domo instance you can view my solution here. You can bug @jaeW_at_Onyx or @DataMavenLLC for access to the instance.
If you get to my page, scroll down to the bottom and you'll find this section:
Here is the overview though:
I created two constants for StartTime and CloseTime so that I could define the "working hours". Because it wasn't specified in the question, I chose 07:00:00 for the start time and 17:00:00 for the close time. this created a 10 hour work day.
For WorkingDays, Domo has a built in Date calculation in the "Date Operations" tile. (see image)
The issue I had was that if you start and end on the same day, then the WorkingDays was calculated as 0. I decided to add 1 to this value using the "Calculator" tile.
Next, I had to calculate the DownTime. I broke this up into three scenarios:
- Jobs completed in the same day
- Using TIMEDIFF(`Completed`,`Assigned`) will tell me the time between the two values
- Then using TIME_TO_SEC(`totaltime`) / 3600 will give me the DownTime in hours
- Jobs completed in 2 working days
- For this, you need to calculate the time worked from the assigned time to closing on the first day
- TIMEDIFF(`CloseTime`,TIME(`Assigned`))
- Then the time worked from the start of the second day to the completed time
- TIMEDIFF(TIME(`Completed`),`StartTime`)
- Convert these times to seconds and divide by 3600
- ( TIME_TO_SEC(`day1`) + TIME_TO_SEC(`day2`) ) / 3600
- For this, you need to calculate the time worked from the assigned time to closing on the first day
- Jobs greater than 2 days
- same as above, for the first and last day
- For mid days you need to add the hours in a workday times the full days worked
Re: Charts/Graph by
You should put your date column in the x axis then use the “trellis/tiered dates” chart property to include a trellis category. Then drag location over to the “category 2” field. I would recommend making location also be the series when you do this as well.
Re: failed to convert value from string to boolean
CASE
WHEN MONTH(CURDATE()) IN ('1','2','3') THEN CONCAT(RIGHT(YEAR(CURDATE()),2),'-Q1')
WHEN MONTH(CURDATE()) IN ('4','5','6') THEN CONCAT(RIGHT(YEAR(CURDATE()),2),'-Q2')
WHEN MONTH(CURDATE()) IN ('7','8','9') THEN CONCAT(RIGHT(YEAR(CURDATE()),2),'-Q3')
WHEN MONTH(CURDATE()) IN ('10','11','12') THEN CONCAT(RIGHT(YEAR(CURDATE()),2),'-Q4')
END
Try this. it worked for me
**edit
Actually, I was able to get your original formula to work as well. I'm not sure what is causing the error.
Re: DOMO Variables - Color Coding for Diff Dimensions
@MichelleH is correct. When defining the color rules, only the options that are "visible" to the card will show up. That means that you need to define the color for the default options, then use the variable controls in the analyzer to select a different option, go back to the color rules and create the color for the second option… repeat until you have covered your desired options.
Re: DOMO Variables - Color Coding for Diff Dimensions
@Patrick_Cruz You will need to select every possible variable value using the control within Analyzer, then add the color rule for that specific value. In that case, be sure to set the control back to the default value before saving the card. Admittedly this process is not ideal, but requesting a quicker solution would be a good candidate for the Ideas Exchange.
Counting the occurrence of a certain character in string
Hello there,
I was wondering if there is a way to count the occurrence of a certain character in a string.
Specifically, I have a column that contains the gender information (M or F) of each data entry.
All of the data entries are grouped according to a unique key, and while grouping, the gender column is collapsed with a comma between each entry belonging to that group.
Now I need to count the number of M's and F's for each group.
Could you please advise if this can be done.
Thank you in advance.
Best,
Roxie




