Best Of
Re: Beast Mode Help
@Ashleigh I believe this will work for you:
/* check to see if today is Wednesday */ CASE WHEN DAYOFWEEK(CURRENT_DATE()) = 4 THEN /*its Wednesday, so just show the last 7 days */ CASE WHEN `date` >= DATE_SUB(CURRENT_DATE(), INTERVAL 1 WEEK) AND `date` <= CURRENT_DATE() THEN 'Include' ELSE 'Exclude' END WHEN DAYOFWEEK(CURRENT_DATE()) > 4 THEN /* its Thursday or later, so just show the most recent week */ CASE WHEN `date` >= DATE_ADD(DATE_SUB(CURRENT_DATE(), INTERVAL 2 WEEK), INTERVAL (4 - DAYOFWEEK(CURRENT_DATE())) DAY) AND `date` <= DATE_SUB(CURRENT_DATE(), INTERVAL (4 - DAYOFWEEK(CURRENT_DATE())) DAY) THEN 'Include' ELSE 'Exclude' END ELSE /* its not Wednesday yet, go back an extra week */ CASE WHEN `date` >= DATE_ADD(DATE_SUB(CURRENT_DATE(), INTERVAL 2 WEEK), INTERVAL (4 - DAYOFWEEK(CURRENT_DATE())) DAY) AND `date` <= DATE_ADD(DATE_SUB(CURRENT_DATE(), INTERVAL 1 WEEK), INTERVAL (4 - DAYOFWEEK(CURRENT_DATE())) DAY) THEN 'Include' ELSE 'Exclude' END END
couldn't easily test since I was using current_date, but I think should work for you.
Re: Card Drill
@Fadem I have not had trouble saving my drill paths and the columns in my table card staying the way I designed them. Are you clicking on the wrench of the main card and choosing Edit Drill Path and then clicking Edit View and then designing your card (I assume a table card) the way you like and then choose Save and Close? That should be all that you need to do.
The final dataset table view can only be shown or hidden and all the columns in the dataset are shown.
Hope this helps.
Re: Auto Refresh a card from Federated source
@faisalnjit there's a setting when you configure your connector for how long the data is held in cache before refreshing. Different connectors will handle it different ways, but this is not a card setting.
Re: Formula where value contains a single quote
If you double up the single quotes it'll escape it to a single quote in your string:
(CASE when `commitment_comb` like '%Q1 ''22%' then 'Q1 2022' else 'other' end)
Re: Handle NULL in Magic
If the NULL values exist in the input dataset, you can configure that fields settings in the "Input DataSet" tile.
Not as easy as a tile to handle it for all fields at once but it is easier than a formula tile.
Re: Help with Beastmode on Count with Condition
Hi @user077529
You can use a CASE statement to conditionally count values in a beast mode. You're close but yours is only counting everything if isRegistered is true. You want something like this:
Registered count
COUNT(CASE WHEN `isRegistered` = 'True' THEN `OrderNo` END)
Non-Registered.
COUNT(CASE WHEN `isRegistered` = 'False' THEN `OrderNo` END)
Re: How to delete data of a domo dataset
This was an amazing find.
I had duplicate data appended.
I was going to blow away the entire dataset and spend days doing another incremental upload.
This was such a gift.
Re: Identifying all datasets connected to a credentials account
I had to set the Account_ID to floating decimal in the datasets configuration so the data type would match, but that was it.
Re: Group by Percentage
@user17774 Glad that worked for you. If you can accept any answers that helped you, that will help others in the community.
Re: Can you find a Beast mode by it's function?
Hi @IanMaddrell
You can pull in the Beast Mode metadata using the Domo Governance Datasets Connector and select Beast Mode from the report list. It'll have all the beast modes and the formulas used for you to do a filter on.





