コメント
-
Glad you got it working, make sure to accept his answer so it's easier for others to find the solution in the future.
-
Mark wants his points for accepted answers... oh wait, I do too! 😁
-
In that case regular expressions and a formula tile are your friend. Put the following code into a formula tile in the New Magic ETL to strip out anything after the colon if the text after the colon contains a GUID: (replace text with your field) REGEXP_REPLACE(`text`, '^([^:]+): [^…
-
Hi @cjsmith718 It appears you're wanting the first part of the text before your colon. If that's the case you can use a Split Column tile in a magic ETL dataflow to get the first part of your string before the colon.
-
You'd group by the new timestamp field and SUM / aggregate your Sales column
-
Alternatively you can truncate a timestamp to a part of the timestamp like hour with the TRUNC function: TRUNC(`dt`, 'HOUR')
-
Hi @DANIH You can use a formula tile to calculate the hour by converting your timestamp to a date (defaults to a time of 00:00:00) and then adding the number of hours in the timestamp. DATE(`dt`) + INTERVAL HOUR(`dt`) HOUR
-
Do you have any filters in place? Will the data show up without that beast mode?
-
Hi @rishi_patel301 Have you looked into the DataSet Copy connector to copy your datasets and set the update method to Append? https://domohelp.domo.com/hc/en-us/articles/360043436533-DataSet-Copy-DataSet-Connector You can copy the dataset to the same instance and set the update method to append so you'd remove the append…
-
You can use a Beast Mode to calculate if it's complete or not and then return a string value for it: Name: Documentation Completed CASE WHEN SUM(`Numerator: Score`) / SUM(`Denominator: Score`) < 1 THEN 'No' ELSE 'Yes' END
-
Hi @Hiraayub You can set your column format to be a percentage to multiply the number by 100. Click on the Column and select Format then choose Percentage.
-
@pstrand2 Do you have a screen shot to help me better understand your issue or your desired end state? Are you saying the total number of working days should be 21 or 210? It shouldn't be adding all of the working days together but it's adding the daily calls per working day (fractions) and adding those up.
-
Hi @pstrand2 Could you just add the fractions together? SUM(CASE WHEN `Activity` = 'Call' THEN 1 ELSE 0 END / `Total Working Days in Month`)
-
Hi @jorgy There isn't really a way you can dynamically calculate the rank and then graph by the week because of how Domo interprets aggregations. You may need to pre-aggregate your data using an ETL but you won't be able to filter at this level dynamically based on your card filters.
-
@Shuhei Try this: { "dimensionFilterClauses": [ { "operator": "AND", "filters": [ { "dimensionName": "ga: dimensionA", "operator": "EXACT", "expressions": ["X"] }, { "dimensionName": "ga: dimensionB", "operator": "EXACT", "expressions": ["Y"] } ] } ] }…
-
@Shuhei Try this: { "dimensionFilterClauses": [ { "operator": "AND", "filters": [ { "dimensionName": "ga: dimensionA", "operator": "EXACT", "expressions": ["X"] }, { "dimensionName": "ga: dimensionB", "operator": "EXACT", "expressions": ["Y"] } ] } ] }…
-
Hi @user095063 You need to join your two tables together since you have one table for all your revenue and another for your HDM revenue. Try something like this: select `a`.`Date`, SUM(`b`.`HDM Revenue`) / SUM(`a`.`All Revenue`) FROM `a` LEFT JOIN `b` ON `a`.`Date` = `b`.`Date` GROUP BY `a`.`Date`
-
Hi @Ashwin_SG Have you looked into using a recursive dataflow? You can also utilize a date tile or a formula tile to insert the current date and time when the dataflow ran. Here's a link to creating recursive dataflows using Magic ETL 2.0:…
-
@Tow Have you changed the ownership of the DataFlow generating your dataflow dataset to Dev1? What about any input datasets for that dataflow? Have you made Dev1 the owner of those? Another option would be to make Dev2 a co-owner assuming you want both dev1 and dev2 to be able to edit your cards and dataflows?
-
dt was the date field I was using. You’ll need to tweak the ETL to replace dt with your hire date field and term_dt with your termination date field.
-
Hi @at326 I'd recommend reaching out to Domo Support as they'd likely have more information on this error and would be better able to help diagnose your problem.
-
Here's some code you can copy and paste into a Magic ETL 2.0 which I think highlights Mark's solution: {"contentType":"domo/dataflow-actions","data":[{"name":"Sample…
-
Dang @MarkSnodgrass I thought I was faster than you! His solution is the better one since you're wanting to calculate the difference and don't always want 0 displayed for your null values. You will need to come up with a cross product to determine all possible year + client + state combinations, left join your original…
-
Hi @MattLynn It's because there's no data for Domo to evaluate in your pivot table to even apply a coalesce on. What you can do is under the General Properties of your pivot table you can check the "Fill Empty Data Cells With 0" option to tell Domo to display 0 instead of blanks in your pivot table.
-
One option is to utilize the lag window functions to calculate the difference between the current year and last year. The caveat to this is you can't have missing years between each salesperson and state (going from 2019 -> 2021 missing 2020 for example) A pivot table would end up looking something like this which isn't…
-
@amehdad Your beast mode won't work correctly as count(0) is still 1. You'd need to drop your else clause if you're using count (how many non-null values are there?) COUNT( CASE WHEN status = 'A' AND 'Hire Date' <= DATE_FORMAT(CURRENT_DATE(),'%d/%m/%Y') AND 'Termination Date' IS NULL THEN 'ID Number' END) @Abhijith Here's…
-
Hi @Adrien You can use partitions in your window function: SUM(`TOS`) / SUM(SUM(`TOS`)) OVER (PARTITION BY `Sales Leader`, `Month`)
-
You wouldn't need the /4 and your total shipped should be surrounded in a parenthesis. (LAG(SUM(`OT Shipped`)) OVER (PARTITION BY `Customer` ORDER BY WEEK(`Date`,2)) +LAG(SUM(`OT Shipped`),2) OVER (PARTITION BY `Customer` ORDER BY WEEK(`Date`,2))+LAG(SUM(`OT Shipped`),3) OVER (PARTITION BY `Customer` ORDER BY…
-
This methods assumes you have no missing weeks. If you miss a week it will cause your calculations to be incorrect. Are you attempting to calculate the rolling average across all your customers or within each customer? Also with your SUM function the way you're calculating it now is an average of the average which isn't…
-
Hi @Ashleigh Are you wanting to the City DC to show up or have data for DC to show up? Showing the city name can be done with the Cities > Show Cities option and turning it on. If you're wanting to show the data you can make sure you're using the ZIP to FIPS connector (or the Domo Dimension connector with the…
