Best Of
Re: How to edit DATEDIFF to calculate beyond calendar year
So you're not using the actual date controls from Domo but a filter card instead, that is why the option to hide it won't work. What worries me is that you say that applying those same filters while editing the card does show results, that sounds like a really weird behavior and something for which you might need to reach out to support about, as that inconsistency in behavior shouldn't be happening.
- The "Controls" you have at the top of the page, are those variables or filter cards?
- If you apply only one of the two filters, say only the department, does the card work and shows you the right number?
- Have you tried adding the Year and Department fields as quick filters to the card and filtering the card with those instead?
If that Year field is predicated from the Incident table, and as you mentioned a department has no incidents in the year, getting the no Data In Range would make sense.
If they are Filter Cards, you might be able to get around by updating the dashboard and configuring the interaction on the Year card not to affect all the cards but the one were you show time since last incident, if it's a variable, then you'll need to see how the setting of that variable is being applied on your beastmodes on that card. Just an idea that might work.
Re: Add multiple Hyperlinks in one cell
Make sure you are using the HTML table card. In your beast mode, you can use one CONCAT function and have as many links as you want. Example:
CONCAT('<a href=https://www.google.com>Google</a>',' ','<a href=https://www.yahoo.com>Yahoo</a>')
Re: Combining Multiple Flags Using Concat() and case stmt
Hi Larry,
It will work when the conditions are met, when they are not it will be completely null.
The solution here is to account for when the holds do not = 'Y' by adding ELSE to your case statement:
CONCAT(
CASE WHEN New Logo Hold = 'Y' THEN 'New Logo Hold' ELSE '' END,
CASE WHEN My Product Customization Hold = 'Y' THEN ', My Product Customization Hold' ELSE '' END
)
This is working for me and I believe giving the results you are looking for.
Re: Combining Multiple Flags Using Concat() and case stmt
As @colemenwilson said, most Beast Mode functions will return NULL if any of the parts being evaluated return null, this is why having the ELSE statement to return an empty string instead works. If you're not using case statements but something else as part of the values to concatenate, you should enclose those in IFNULL() statements. Just remember that after you've concatenated all the possible flags as strings, you might end up having the end being ', ' in which case just for ease of view, you might want to remove this where applicable.
Intro
Hello everyone. I work for a company head quarterd in St. George, UT called Vasion. I have been a Domo user for several years but just recently joined the community. I would like to use the community to up level my Domo game. Thanks in advance for any great ideas I pick up from being a member.





