Best Of
Re: Compare two peer groups
@GrantSmith thanks for your reply. I did look into this but it doesn't seem to solve the business problem.
Variables appear to be extremely useful if I need to pick a number or a date, however when it comes to strings they appear to be extremely limited. Very powerful if I want to build a button that says pick units or dollars figures, far less useful and highly manual if I have 1000+ campaigns that are named different things, it appears to only offer the ability to 'hand key' a few custom selections on strings rather than being able to filter on the same field two different ways.
I also looked at FIXED functions but they would not be helpful here, because while it allows for filter removal and adding, it's 'all or nothing' logic so I can't compare two samples of a field filtered two different ways. For example I can compare Texas vs the United States, but I cannot compare 'Texas and Oklahoma' vs 'Florida and Georgia'.
This is turning into quite the head scratcher.
Re: Mass Disablement of Data Flows (Data Management)
You can multi-select dataflows from the Dataflows tab in the Data Center and then disable all selected dataflows at once, which is definitely quicker than doing them one by one, but I assume you would like to do it in greater bulk than that, correct?
There's not a published API for disabling dataflows, but you can sniff out the API by performing the action while watching the Network tab in Developer Tools (that's where it's located in Chrome - might be called something else in another browser). You can then write a script to iterate through a file of dataflow IDs (and whatever other pieces of info are part of the API call, I'm assuming dataflow ID is one required piece). Since those APIs are not published I wouldn't recommend creating long-term, ongoing processes based on them (they might change and there wouldn't be a way for you to know), but I've had success using them to avoid manual work for ad hoc tasks (like one-time cleanups). I've never used the API for disabling dataflows, but I've used APIs for other data center tasks with success (like sharing datasets).
NOAA Connector
I saw some people using the NOAA connector data at DP18. I got the token to activate the connector, but I am having a hard time understanding how to get weather data out of it. Does anyone know of any resources that I can use to understand this connector?
There are 2 things I would like to pull into Domo so I can ETL it with our daily visit data. I want to know historical weather and the 7 day forecast.
Thank you,
Jason

Re: Line Chart with Weekends Denoted
There isn’t a way to switch the color on a single line however I’ve used two lines with the same values and a beast mode to conditionally display certain values. You’d use your metric as the weekday which would display the weekend and weekdays.
CASE WHEN WEEKDAY(`Date`) IN (1,7) then `Metric` END
you’ll have to play around with the order in which they’re listed as values in your chart but it would allow you to have a “line” that alternates colors. Just set the color on your metric as the color for the weekday and the beast mode color as your weekend color
Re: How to grant permission for a user to access an ETL dataflow?
@GrantSmith Did your idea for this in the exchange get deleted? I tried to click on it and upvote, but the link is dead.
Hoping Domo is still working on implementing something to address this issue as we are in a growing world of collaboration including ETL's!
I don't want to give our users admin rights or super user privileges to edit all ETL's -- I just want them to be able to share access to their ETL's to their other team members so they can work on them / review them together.

Re: Can you use _Batch_Last_Run_ as the date for a recursive dataflow?
The batch_last_run will be the value when your raw data is imported into the system, the currentdate in an ETL would be populated when the ETL actually runs. Depends on what you're wanting to track with your date.
Re: Put Legends back how they use to be
@jaeW_at_Onyx that’s what I said….but not according to Domo support lol

Re: Sum if using Case When
Try moving the SUM to the outside of your CASE statement instead of being inside. I would also double-check your data to make sure you are matching exactly, such as case-sensitivity and extra spaces.
Re: Sum if using Case When
Try this:
SUM(CASE WHEN `Data` in ('Goal','Pipeline','in P&L') THEN `Total` ELSE 0 END)
This should get the total you want.
Re: Filtering Report Data by Multiple Dates
@Brightsider you can but you would have to restructure your dataset. You'd need a single date column to filter off of, so you'd want to pivot your data to create a single date column, and then have a new label column that holds the value of "Created" or "Scheduled"
