Best Of
PRODUCT RELEASE SNEAK: DomoGPT
As an active Community member perk, we will be providing insider sneak peeks for the DomoGPT features we will be releasing on Monday July 22nd 🥳
DomoGPT is here! This is our internal LLM option that is fully hosted in the Domo environment and covered by existing security reviews (like any other data transformation or feature in Domo).
We are thrilled to offer our customers peace of mind and an additional layer of security protection for their sensitive information. With DomoGPT, your data remains within the secure Domo ecosystem, safeguarded from any potential third party access. Now you can use our Beast-Mode Assistant, AI Services in: Apps, Bricks, Workflows, and AI Chat with our DomoGPT LLM.
DomoGPT will be available in all production environments excluding customers hosted in Azure, AWS Canada, and AWS Tokyo.
Please note these features are subject to change and could lead to a delay in its deployment for an unknown amount of time.
PRODUCT RELEASE SNEAK: DataFlow Sharing Modal
As an active Community member perk, we will be providing insider sneak peeks for the Dataflow Sharing Modal features we will be releasing on Monday July 22nd 🥳
Historically, when users wanted to share a DataFlow with another user or group, it was often difficult, time consuming and frustrating as you often run into roadblocks. We’ve greatly improved the DataFlow sharing process to make it as easy as sharing a DataSet. In the three-dots menu, select “Share”, and choose who you’d like to share the DataFlow with. This will share all input and output DataSets with the selected users and groups, thus giving those users and groups access to the DataFlow.
Now you can share your Dataflows faster and easier than ever before!
Please note these features are subject to change and could lead to a delay in its deployment for an unknown amount of time.
PRODUCT RELEASE COMING MONDAY JULY 22nd
You may see a notice today when you login into Domo about features being released on Monday July 22nd (hard to believe we are on our fourth release of the year….where does the time go). Attached PDF has a list of what goodies we have coming for you. More details will be posted on the Domo website when things are live.
PRODUCT RELEASE SNEAK: Persistent App Studio Filters — BETA
As an active Community member perk, we will be providing insider sneak peeks for the App Studio features we will be releasing on Monday July 22nd 🥳
We’ve listened to you and implemented Persistent App Studio Filters to allow filtering to persist as you move across pages in your apps. With this new enhancement, app creators can set filters for specific columns or all columns in their dataset, eliminating the need to apply filters repeatedly. Choose which filters you’d like to persist, including interaction filters, variables, and date filters. Persistent filters are labeled with a globe icon and can be toggled on from any page in your app.
This will be available to all customers through our beta program.
@Khushboo can answer more questions as well.
Please note these features are subject to change and could lead to a delay in its deployment for an unknown amount of time.
Re: Solved ETL - Replace Null Values
There are really a few ways you could do this:
Option 1 - check for nulls
CASE WHEN fieldname IS NULL THEN 0 ELSE 1 END
Option 2 - change nulls to 0 then check for 0
CASE WHEN IFNULL(fieldname,0) = 0 THEN 0 ELSE 1 END
Option 3 - check for text using the length function
CASE WHEN LENGTH(TRIM(fieldname)) >= 1 THEN 1 ELSE 0 END
There are probably more options, but there are a few for you.
Re: Percent of Total on Table Chart
You can use SQL functions in Beastmode (not documented though).
Try this:
SUM('field name')/SUM(SUM('field name')) OVER ()
Re: ETL Formula to extract numeric ID at the end of campaign name
Glad you got it to work. Yes, using the SPLIT_PART function with it looking for the underscore character will return the ID you want.
Re: Dataset from Email upload
I'm not sure of the question.
A dataset in Domo is identifiable from its ID number. Open the dataset in Data and look at the URL. There will be a number there. That's the unique id for the dataset. Programmatically could access that data and pass it over to Oracle.
For Domo "token" information look for the pages on developer.Domo.com to create a client id with secret key.
Accessing depends upon the method/language. Javascript, Python? Something like this in Javascript:
const axios = require('axios');
// Domo API credentials
const clientId = 'your_client_id';
const clientSecret = 'your_client_secret';
// Base URL for Domo API
const baseURL = 'https://api.domo.com';
// Function to authenticate and get access token
async function authenticateAndGetToken() {
try {
const response = await axios.post(${baseURL}/oauth/token, {
grant_type: 'client_credentials',
client_id: clientId,
client_secret: clientSecret
});
return response.data.access_token;
} catch (error) {
console.error('Error authenticating with Domo API:', error);
throw error;
}
}
// Call the function to authenticate and get token
authenticateAndGetToken()
.then(token => {
console.log('Access token:', token);
// Proceed to next steps (retrieve dataset and export)
})
.catch(err => console.error('Error getting access token:', err));
And export it in javascript with something like this:
// Function to export dataset data
async function exportDataset(datasetId, accessToken, format) {
try {
const response = await axios.get(${baseURL}/v1/datasets/${datasetId}/data?format=${format}, {
headers: {
Authorization: Bearer ${accessToken}
}
});
return response.data;
} catch (error) {
console.error('Error exporting dataset:', error);
throw error;
}
} // Usage example: Replace your_dataset_id with the actual dataset ID
const datasetId = 'your_dataset_id';
const exportFormat = 'csv'; // or 'json' // Call the function to export dataset data
authenticateAndGetToken()
.then(token => {
return exportDataset(datasetId, token, exportFormat);
})
.then(data => {
console.log('Exported dataset:', data);
// Process or save the exported data as needed
})
.catch(err => console.error('Error exporting dataset:', err));
Using Python:
import requests Domo API credentials client_id = 'your_client_id'
client_secret = 'your_client_secret' Base URL for Domo API base_url = 'https://api.domo.com' Function to authenticate and get access token def authenticate_and_get_token():
url = f'{base_url}/oauth/token'
headers = {
'Content-Type': 'application/json'
}
data = {
'grant_type': 'client_credentials',
'client_id': client_id,
'client_secret': client_secret
}
response = requests.post(url, headers=headers, json=data)
response_data = response.json()
return response_data['access_token'] Get access token access_token = authenticate_and_get_token()
print('Access token:', access_token)
Retrieve details:
Function to retrieve dataset details def get_dataset_details(dataset_id, access_token):
url = f'{base_url}/v1/datasets/{dataset_id}'
headers = {
'Authorization': f'Bearer {access_token}'
}
response = requests.get(url, headers=headers)
return response.json() Example usage: Replace your_dataset_id with the actual dataset ID dataset_id = 'your_dataset_id'
dataset_details = get_dataset_details(dataset_id, access_token)
print('Dataset details:', dataset_details)
Export for import in Oracle:
Function to export dataset data def export_dataset(dataset_id, access_token, format='csv'):
url = f'{base_url}/v1/datasets/{dataset_id}/data?format={format}'
headers = {
'Authorization': f'Bearer {access_token}'
}
response = requests.get(url, headers=headers)
return response.json() Example usage: Replace your_dataset_id with the actual dataset ID exported_data = export_dataset(dataset_id, access_token)
print('Exported dataset:', exported_data) Example of exporting to CSV file (optional) import csv csv_file = 'exported_data.csv'
with open(csv_file, 'w', newline='') as f:
writer = csv.writer(f)
for row in exported_data['rows']:
writer.writerow(row) print(f'Exported data saved to {csv_file}')
Re: ETL Formula to extract numeric ID at the end of campaign name
Are you referencing the correct field in your formula tile? Neither of these two samples contain the word Expense so there is no way the preview could display Expense in the result of the RIGHT function usage. I would double check that you are referencing the correct field in the formulas.
Based on these two samples, both of my suggested functions should return the numeric id you are looking to extract.







