Best Of
Re: How should can i remove Dot "." from a column?
You can also use a formula tile and a regex to do this as well:
REGEXP_REPLACE(`Field`, '.', '')
Re: What would be the downside of using Appended Data to capture M/M snapshots?
I'm a big fan of if it works and gets results fast without being a huge resource sink then don't over think it.
When it comes to comparing periods in my shop I like the ability to use any chart I want rather than being restricted to period over period charts. So what I tend to do is append one dataset to itself, increment the dates by one year (or whatever you need to do to properly compare dates), then rename the appended value columns 'LY <<Column Name>>'.
Here's a simple example
Doing it this way allows you to create charts like this that can compare periods, quarters, years, days... can even be forward looking.
If you want to make sure it's apples to apples and not forward looking, (in this case, Jan, Feb, March of 2022 vs the prior year and nothing else), simply create a column or a beastmode that says if the LY Sales date is more than the max of the original tbl date, exclude it.
Hope this helps.
Re: How should can i remove Dot "." from a column?
You should be able to resolve this by using replace text in Magic ETL.
Here's a screenshot of where to find it:
In this example I have this highly complex table, behold my unstoppable data prowess:
Then by adding replace text and replacing "." with an empty string the output table returns this:
Hope this helps!
Re: New Year Filtering Issues by Week / Month
Try something like this:
CASE WHEN (`Week Date` + INTERVAL (7-DAYOFWEEK(`Week Date`)) DAY) = (CURDATE() - INTERVAL (DAYOFWEEK(CURDATE)) DAY) THEN 'Last Week' ELSE 'NOT' END
The first part is is adding days to the week to get the last day in the week. The second half is calculating the end of the week based on the current date (for example Monday = 2 so it's subtracting 2 days to get to Saturday of last week)
Re: Beastmode for multiple row comparisons to one source row?
If those are your only records in your dataset you can utilize a Magic ETL to add a constant to your dataset (Join Column, value 1), then filter your data for just 'Current Week'. Take that filter and join it back to your original dataset with the constant and join both on the constant. This will join each row to the current week record for you to compare the two values together.
Re: Add beast modes already created to a dataset
@MDavis Yes, if you check the "Save as calculation on dataset" box in Beast Mode Editor then it makes the calculation available in all cards using that dataset.
Re: How do I filter duplicative entries when two date fields are involved? (entry & modified dates)
You could use a Magic ETL 2.0 dataflow and group your data on the start_date, model and inventory_units and select the MAX ob_modified_date then do an inner join from your original input dataset and the output of the group by based on the start_date, model, inventory_units and ob_modified_date.
Re: How can I create personal cards?
@har_d_har1 my first instinct here is that PDP is your best solution. It doesn't have to be hard-coded values - you can assign based on user attributes, or create custom rules. Is there something in your dataset that identifies which ticket belongs to which user? You could use that in your PDP. For example, if you have the user's email in the dataset, then you'd set up a PDP rule on that column and choose the filter by trused attribute where trusted attribute is email.
mhouston
Re: YOY Progress Bars
Hi @damen
I'd recommend utilizing your own date dimension table to compare the same days per year. I've done a writeup on how to do this previously here: https://dojo.domo.com/main/discussion/53481/a-more-flexible-way-to-do-period-over-period-comparisons#latest
Re: How can I convert an Excel date code into a normal M/D/Y formatted date?
Hi John @DashboardDude ,
Thank you so much! That did the trick. Plus your tutorial was very easy to follow.
I've already bookmarked your web page for the next time I need help.
Thanks,
Carlos AKA HowDoIDomo?








