Best Of
Re: Use loops to avoid rewriting case statements within a beast mode many times
There's an edge case which is causing the wrong labels. Try the following:
CASE WHEN `maint_count_between_restarts` = 0 THEN 0 WHEN `maint_count_between_restarts` > 50 THEN 50 ELSE CONCAT(FLOOR(`maint_count_between_restarts`/5)*5+1, '-', FLOOR((`maint_count_between_restarts`+5)/5)*5) END
Re: only show data for next 30 days
CASE
WHEN `Next Cycle Count` BETWEEN CURRENT_DATE() AND DATE_ADD(CURRENT_DATE(), INTERVAL 30 DAY)
THEN 'Upcoming in Next 30 Days'
ELSE 'Outside 30 Days'
END
This would give you a field you can use to list or filter.
CASE
WHEN `Next Cycle Count` BETWEEN CURRENT_DATE() AND DATE_ADD(CURRENT_DATE(), INTERVAL 30 DAY)
THEN 1
ELSE 0
END
Re: only show data for next 30 days
Sorry…I'm in on a conference call…lol
CASE
WHEN `NextCycleCount` >= CURRENT_DATE()
AND `NextCycleCount` <= DATE_ADD(CURRENT_DATE(), INTERVAL 30 DAY)
THEN 'Show'
ELSE 'Hide'
END
ItemID,ItemName,NextCycleCount
1001,Widget A,2025-07-10
1002,Widget B,2025-07-15
1003,Widget C,2025-08-01
1004,Widget D,2025-07-08
1005,Widget E,2025-09-01
1006,Widget F,2025-07-25
1007,Widget G,2025-06-30
1008,Widget H,2025-07-05
1009,Widget I,2025-08-15
1010,Widget J,2025-07-29
Re: only show data for next 30 days
You might also consider using the Date Filter using the Next option. This allows you to do it without writing a beast mode.
Re: Data Type for File Import
The current, Domo recommended, file upload connector has the option to keep leading zeros. I would recommend following their recommendation and use this one by clicking "CONNECT DATA" and then "FILE" when adding new data.
Re: Data Type for File Import
@calvert_schaefer There is an option in the file upload connector that you can check to keep leading zeros like this:
Re: Use loops to avoid rewriting case statements within a beast mode many times
Since your buckets are the same size you can use some math and concat to calculate your buckets for you: You can take care of the end buckets first otherwise calculate the bucket name dynamically.
CASE WHEN `maint_count_between_restarts` = 0 THEN 0 WHEN `maint_count_between_restarts` > 50 THEN 50 ELSE CONCAT(FLOOR(`maint_count_between_restarts`/5)*5+1, '-', CEILING(`maint_count_between_restarts`/5)*5) END
This will allow you to more easily calculate the buckets. In this example the bucket is 5 but you can change the 5 to whatever size bucket you want, just makre sure it's updated in all 4 locations.
You can create a separate beast mode for sorting:
CASE WHEN `maint_count_between_restarts` = 0 THEN 0 WHEN `maint_count_between_restarts` > 50 THEN 50 ELSE FLOOR(`maint_count_between_restarts`/5)*5+1 END
Re: Not able to sort Dates
Hi Ritesh! It looks like you have it sorted by Alphabetically even though the X-Axis is a date type.
Click the little "ZA Arrow" sort button on the Y Axis, as shown in my screenshot, to toggle through different sort options. One of the sort options will be by date, as you are intending.
Doing it this way, you won't need the "Sorting" field populated because it'll sort in the card itself.
Let us know if this works,
Re: Card Title and Description Text Formatting Options
Yes, agree it would be better if there were some styling options built into the interface, and underlining is not one of the supported HTML tags. That said, the conditional formatting enabled by HTML can be more useful than underlining, etc. If I had to choose, I'd choose the ability to use HTML tags with conditional logic on even more elements, like the card title, etc.
These are the style attributes you can use:
- background-color
- border
- color
- float
- font-color
- font-size
- font-weight
- height
- left
- margin
- margin-left
- margin-right
- max-height
- max-width
- padding
- position
- text-align
- top
- vertical-align
- white-space
- width
- word-wrap
- z-index
Re: Pivot Table switch values to show as columns or rows
Any updates? This feature would be very beneficial.












