Best Of
Re: Send an email to a dynamic group using workflows
Huge shoutout to @DanHendriksen for taking some time to walk me through this. I used the code he provided above and created a new package. One small line of code that didn't get copied over was defining 'codeengine'. He scheduled a call with me, provided the missing code (const codeengine = require ('codeengine');), and made sure everything worked out as it should.
Thanks @DanHendriksen
Re: Excel addin
Cbrack, thanks for posting your problem…I'm running into a similar problem with the Excel Addin. My issue has to do with filters that I have on various cards (so similar to your date range selection problem) and when I go to refresh a card that I've been using for the last 12 months or so, it'll download all of the data as though I did not have a filter on the card. I tried turning the filters on/off of the existing cards and it didn't solve the problem. I also went down the path of adding new sheets and opening up new Excel workbooks and the initial download of the data with the filters applied would work but any time I refresh, it would be as though I didn't have a filter on the card. I've just started working with Support and one of their solves works and that is using the "Filter View" and applying the same filter to all of the cards in the Excel file. While it works, it doesn't help me with the files that have a number of cards with a bunch of unique filters applied to each card (I would need to create individual files for each unique set of filters that I would want on a card or cards). I'll follow up if I end up with a better solution. My guess is that the latest App Version 2.0.20 that had a Build Date of 6/21/24 has screwed up some portion of the population using the Excel Addin…so you are not alone and hopefully we can come up with a solution that resolves this problem. Please follow up if you figure out a solve. Thanks!
Re: MTD and YTD TOGGLE
FREAKIN GENIUS! EXACTLY WHAT I NEEDED!!!!!! THANK YOU! THANK YOU! THANK YOU!
Re: MTD and YTD TOGGLE
CASE statements are exclusive, so once it finds an option that is true, it exits and doesn't evaluate other options. Not sure really how to explain it better, but I do have the solution.
This is what variables are for! :) They are wonderful honestly. Create a variable that has your options of YTD and MTD, then create a Beast Mode like this:
(CASE
WHEN `Date Filter Variable` = 'MTD' THEN (CASE WHEN MONTH(`Start/Invoice Date`) = MONTH(CURRENT_DATE()) AND DAY(`Start/Invoice Date`) <= DAY(CURRENT_DATE()) THEN 'Yes' ELSE 'No' END)
WHEN `Date Filter Variable` = 'YTD' THEN (CASE WHEN DAYOFYEAR(`Start/Invoice Date`) <= DAYOFYEAR(CURRENT_DATE()) THEN 'Yes' ELSE 'No' END) ELSE 'Yes'
END)
Then add your Beast Mode as a filter (but not a quick filter, as that is what the variable will serve as) and select Yes.
brycec
Re: Pivot/Group By - Make Multiple rows into one row and add columns
@MichelleH thanks for extra input.
That is what I ended up doing - I filteredd out Evals and then I filtered out Surgeries, and then I joined them back in on eachother to get an output that had both on one line.
New to Data Analytics - Loving Visualizations, Problem Solving, and Data Empowerment
I've been with my current firm now for about 9 months and have loved being a part of a data-driven culture. As a recent graduate, this is my first "career" and I'm thankful to have been found by a wonderful company in a stimulating and exciting field.
Outside of problem solving at work, I love to do anything outside - hunting, fishing, hiking, camping. I'm refueled by sunshine and dirt under my feet! I especially love enjoying it with my wife and son.
My faith in Jesus Christ is a foundation for my whole life, and I hope to glorify Him in everything - including Domo!
Re: Limitations of SQL API
Based on documentation I have seen regarding Domo's SQL API, the following limitations apply:
- Joins, Subqueries, and CTEs:
- Joins are not allowed in the SQL API. This limitation extends to subqueries and Common Table Expressions (CTEs) as they are essentially advanced forms of joins and require similar underlying database operations.
- Joins are not allowed in the SQL API. This limitation extends to subqueries and Common Table Expressions (CTEs) as they are essentially advanced forms of joins and require similar underlying database operations.
- UPDATE and ALTER Statements:
- UPDATE and ALTER statements are not supported through the SQL API. The SQL API is primarily designed for querying data and does not support data modification or schema-altering operations.
These limitations are in place to ensure performance and security within the Domo environment. If you need to perform more complex operations involving joins or schema changes, you might need to use other tools within Domo or operations outside Domo before ingesting the data.




