Best Of
Re: Beastmode Cleanup
It depends if you're deleting a beast mode that's saved to the dataset or not. If you delete one from the card that isn't saved to the dataset then it's just that card.
There isn't a simple way through the UI to get the duplicated beast modes however you can utilize the DomoStats / Data Governance datasets to get the cards and beast modes datasets which should have the beast mode definition and if it's saved to the dataset. You can then pull the powering dataset from the card dataset, group by the dataset and see how many records where the name and formula are the same and if there's more than one record you have a duplicated beast mode.
Beast Mode Manager will archive off the beast mode and remove it from view. This is better if you want to be able to potentially recover the beastmode at a later time.
Re: Replacing single quote/apostrophe with nothing
@tejusarora Thanks! I tried that earlier and it was giving me an error, but now it is working as well.
Re: Replacing single quote/apostrophe with nothing
Hi Mark,
SQL uses two single quotes to represent one in a string. so try using
REPLACE(`Longitude`,'''','')
This should definitely work
Re: Replacing single quote/apostrophe with nothing
ETL Formula tile doesn't seem to want to handle single quotes correctly. I've been able to get it to remove single quotes using the Replace Text tile but you may have to put in the single quote a couple times as I've had it remove the single quote and replace my single quote with empty string.
You can copy the JSON code below and paste it into your ETL which should remove the single quotes. You'll just need to update the field names.
{"contentType":"domo/dataflow-actions","data":[{"name":"Replace Text","id":"5a02f438-db47-4f1d-ac57-484a94fcf775","type":"ReplaceString","gui":{"x":156,"y":180},"dependsOn":["0c670718-8546-4cc5-a42b-51e326b70b6c"],"removeByDefault":false,"notes":[],"fields":[{"inStreamName":"Promotion","useRegex":false,"replaceString":"'","replaceByString":"","wholeWord":false,"caseSensitive":false}]}]}
Re: Case Statement with multiple conditions and excluding null values
If you're only wanting this to process for Account A, I would a nested case statement like this:
(CASE WHEN TRIM(`column1`) = 'Account A' THEN (CASE WHEN TRIM(`column2`) = '' THEN `column1` ELSE `column2` END) ELSE `column1` END)
Re: Help with Beast code to do color coding on the data..
Have you tried a Heatmap table card? You can use the chart properties to select the color theme as well as which columns in the table should have the colors. You also get the option to use the same scale for all columns, or a different scale for each column.
Re: How to share specific views of a dashboard to different stakeholders
Hi @ozarkram
It sounds like you're wanting to restrict which data is visible depending on specific user criteria. This is what PDP was designed to do. You can enable PDP and define the criteria for the records users or groups are allowed to see. You can read up on PDPs here: https://domohelp.domo.com/hc/en-us/articles/360042934614-Creating-and-Deleting-PDP-Policies
Re: Replace an excel file uploaded using File Upload Legacy connector
If you go to the dataset in the data center and click on it, you can then go to the settings tab and re-upload a file.
Re: Trying to use SSMS to connect to Domo Server via Domo ODBC Driver
@Jack_Kaye to be clear you're trying to query Domo, NOT query an on prem database?
i'm sure it can be done but I'm not sure you're gonna get the desired end-user experience...
Adrenaline wasn't really designed like Snowflake or TSQL in a cloud environment where you should be able to query the database with an IDE. The ODBC driver doesn't (AFAIK) get a lot of use so... i'm not sure how developed a feature it is.
if it were me, I'd construct my query in Dataset Views in Domo and then just use literally any other (free) tool, Python + APIs or Domo CLI to export the data when i need it.
Re: Why is there a large performance hit for mixing columns from a join statement?
indexing IS very dataset specific. and you're using MySQL 5.6 so all the updates in the platform in the last ... 10? years are not in place. so yeah... a DBA is your best bet if you insist on optimizing your query performance by hand.
PS in MySQL dataflows you can use the 'explain sql' button (it's a drop down under "run SQL" ) to show the execution plan which will give you a hint as to whether your dataflow is even taking advantage of the index.
also keep in mind each transform will CREATE TABLE so you have to index your intermediate steps if you're going that route.
i have implemented dataflows in Domo for over 100 customers ... i can count on one hand the number of design patterns that absolutely cannot be done in Magic... with the advent of FORMULA tiles and integration of SQL-esque functionality in different parts of the Magic platform... most jobs can be shifted into Magic 2.0 and perform pretty quickly.
alternatively, divide the task. do the JOIN in a dataset view and the row level transforms in Magic.




