Best Of
Re: Calendar View does not display with one day's worth of data
Clark, the default behavior for the calendar card is to adjust the view to the data passed into the chart. If it is only given data for 1 day, it has a different view than if passed multiple days in a month, or in a year. You can set the view for the calendar in the Chart Properties - > General → View to always show a year or month. Hopefully that will do what you are looking for.
ACE Hands-On Webinar: Building Actionable Data Products in Domo
Hey everyone! I’m excited to invite you to a webinar I’ll be hosting on Friday, January 17th at 2 PM MST. In this session, we’ll be building an actionable data product from start to finish using App Studio, Workflows, Task Center, and Domo's AI Service Layer.
Save Your Spot! [Register Here]
I’d love to see you there and show you how these tools can help you create powerful, real-world solutions in Domo! Let me know if you have any questions.
Re: Help with Date Range/ Period to Date
Anything you create manually will not interact with the Date Range filter, keep that in mind because it could cause issues. It might be helpful to uncheck "Allow Global Date" filtering on your cards.
If you go this route, I would recommend creating a variable and then have a beast mode that uses the variable and then place the beast mode in your filters. Example:
CASE
WHEN `Period Variable` = 'WTD'
AND `Date` >= DATE_SUB(TODAY(), INTERVAL (DAYOFWEEK(TODAY()) - 1) DAY)
AND `Date` ⇐ TODAY()THEN 'Include'
WHEN `Period Variable` = 'MTD'
AND `Date` >= DATE_SUB(TODAY(), INTERVAL (DAY(TODAY()) - 1) DAY)
AND `Date` ⇐ TODAY()THEN 'Include'
WHEN `Period Variable` = 'QTD'
AND `Date` >= DATE_SUB(DATE_SUB(TODAY(), INTERVAL (DAY(TODAY()) - 1) DAY) , INTERVAL (MOD(MONTH(TODAY()) + 2, 3)) MONTH)
AND `Date` ⇐ TODAY()THEN 'Include'
WHEN `Period Variable` = 'YTD'
AND `Date` >= STR_TO_DATE(CONCAT('01-01',YEAR(TODAY)),'%Y-%m-%d')
AND `Date` ⇐ TODAY()THEN 'Include'
ELSE 'Exclude'
END
Re: How do I get unique values from a column?
If you are in a table card, one way is to drag that same column in again as the 1st column and choose count. Then in the chart properties, General - Hide Columns, enter 1. This will hide the 1st column and the aggregation that you chose will remove the duplicates.
Re: Pivot Table Expansion
Love this. It would be so much more intuitive and space efficient!
Re: Beast Mode Calc - calculation in rows
The BeastMode could be written without the Country:
(sum(CASE WHEN Fruit = 'Oranges' THEN Picked ELSE 0 END) +
sum(CASE WHEN Fruit = 'Apples' THEN Picked ELSE 0 END) )/
sum(CASE WHEN Fruit = 'Pineapples' THEN Picked ELSE 0 END)
And the way you would "pivot" by country is by using country as a variable:
You could literally use a pivot table, too, but basically all the Domo cards work on the same logic as a pivot table, where the variable are saying how to split up the data.
Re: New Formula Functions in Magic ETL
Just tried this and little things like this save me massive amounts of time in the long run. Appreciate all this!!






