Best Of
Re: Period over Period (MOM/YOY) option in Multi-Value card for 2 months prior
@NathanDorsch with your concatenation:
Date(concat( case when Month(`Date`) > 1 then Year(`Date`) when Month(`Date`) = 1 then Year(Date) - 1 end, '1', case when Month(`Date`) > 1 then Month(`Date`) - 1 when Month(`Date`) = 1 then 12 end ))
A date of today would return 202213. The date() function is going to have a hard time converting that to a date.
If you want to go this route, I would change it to:
Date(concat( case when Month(`Date`) > 1 then Month(`Date`) - 1 when Month(`Date`) = 1 then 12 end , '/1/', case when Month(`Date`) > 1 then Year(`Date`) when Month(`Date`) = 1 then Year(Date) - 1 end ))
Re: Is there any way to find how many times a dataset/dataflow has failed?
Use an ETL to group it based on the ID and the status and then count the IDs. This will break down your dataset based on the statuses and give you a count. You can filter out then for specific codes
Alternatively if you're using a beast mode you could do a conditional sum:
SUM(CASE WHEN `Status` = 'Failed' THEN 1 ELSE 0 END)
Re: Is there any way to find how many times a dataset/dataflow has failed?
It depends on how your company wants to define success but I'd recommend 'Invalid' and 'Success'
SUM(CASE WHEN `Status` IN ('Error', 'Invalid') THEN 1 ELSE 0 END)
Re: Is it possible to create a combo chart in the tiles?
Domo calls combo charts Line + Bar charts. In a standard implementation, the value put in the y-axis becomes the line and then the series becomes the bar. You can have multiple lines by entering a value in the General chart properties "series on left scale". It will then use the y-axis and the first item in the series if you entered 2, for example.
I created a video about this that may help you.
Hope this helps.
Re: showing record with max date
There may be other ways to do this, but I would start by ranking the dates and then filtering the data to only include the max date for each ID.



Re: Participate in a 15 minute survey and receive a complimentary report ($895 Value)!
DONE
amehdad
Re: How to ensure data for each month gets displayed in one row in this table chart instead of2rows
Hi @Abhijith, before the beast mode, in your ETL, add in a 'Group By' tile to group SUM(`Total Charge`) by MonthYear.
amehdad
Re: scheduled Reports - Update email addresses from Dataset?
The API appears to be {}/api/content/v1/reportschedules
It does not appear there is any reference to that API on the datacrew site but I will keep investigating to see if a call to the API is something I can build.
I have also asked my admin to investigate the cost of the Domo Campaigns app.
Thankyou very much for your help @MarkSnodgrass !
I would very much appreciate any more help anyone can offer
Re: How do I turn off an alert on data loads?
In the dataset view there is an icon with three dots and under there is an option for Notifications. You can turn them off from there:
mhouston
Re: Remove weekend days from calculations
If you wanted to do it in a beast mode, it is quite a bit more involved, but you could do this:
CASE WHEN `Start Date` = `End Date` THEN 0 ELSE DATEDIFF( CASE WHEN DAYOFWEEK(`End Date`) = 7 THEN SUBDATE(`End Date`, INTERVAL 1 DAY) WHEN DAYOFWEEK(`End Date`) = 1 THEN SUBDATE(`End Date`, INTERVAL 2 DAY) ELSE `End Date` END , CASE WHEN DAYOFWEEK(`Start Date`) = 1 THEN ADDDATE(`Start Date`,INTERVAL 1 DAY) WHEN DAYOFWEEK(`Start Date`) = 7 THEN ADDDATE(`Start Date`,INTERVAL 2 DAY) ELSE `Start Date` END ) - ((CASE WHEN WEEK(CASE WHEN DAYOFWEEK(`Start Date`) = 1 THEN ADDDATE(`Start Date`,INTERVAL 1 DAY) WHEN DAYOFWEEK(`Start Date`) = 7 THEN ADDDATE(`Start Date`,INTERVAL 2 DAY) ELSE `Start Date` END) = WEEK(CASE WHEN DAYOFWEEK(`End Date`) = 7 THEN SUBDATE(`End Date`, INTERVAL 1 DAY) WHEN DAYOFWEEK(`End Date`) = 1 THEN SUBDATE(`End Date`, INTERVAL 2 DAY) ELSE `End Date` END) THEN 0 ELSE WEEK(CASE WHEN DAYOFWEEK(`End Date`) = 7 THEN SUBDATE(`End Date`, INTERVAL 1 DAY) WHEN DAYOFWEEK(`End Date`) = 1 THEN SUBDATE(`End Date`, INTERVAL 2 DAY) ELSE `End Date` END) END - CASE WHEN WEEK(CASE WHEN DAYOFWEEK(`Start Date`) = 1 THEN ADDDATE(`Start Date`,INTERVAL 1 DAY) WHEN DAYOFWEEK(`Start Date`) = 7 THEN ADDDATE(`Start Date`,INTERVAL 2 DAY) ELSE `Start Date` END) = WEEK(CASE WHEN DAYOFWEEK(`End Date`) = 7 THEN SUBDATE(`End Date`, INTERVAL 1 DAY) WHEN DAYOFWEEK(`End Date`) = 1 THEN SUBDATE(`End Date`, INTERVAL 2 DAY) ELSE `End Date` END) THEN 0 ELSE WEEK(CASE WHEN DAYOFWEEK(`Start Date`) = 1 THEN ADDDATE(`Start Date`,INTERVAL 1 DAY) WHEN DAYOFWEEK(`Start Date`) = 7 THEN ADDDATE(`Start Date`,INTERVAL 2 DAY) ELSE `Start Date` END) END) * 2) END
For a detailed breakdown, you can refer to this article:
https://domohelp.domo.com/hc/en-us/articles/360043428153-Date-Difference-for-Business-Days
Hope all of this helps.




