コメント
-
You'd need to add it to your input dataset as the first step, then when you go to add it to your recursive dataset it should have the different values stored in there for when the input is added. Do you have a screen shot of your ETL?
-
Hi @Ashwin_SG When you tried your recursive dataflow did you add a new column / constant contained the current date and time before your output dataset?
-
For future reference this is mentioned just above the "Customizing Pivot Tables" section in the knowledge base: https://domohelp.domo.com/hc/en-us/articles/360043429473-Pivot-Table#3. By default there's a limit of 25,000 rows to display. See the section " What are the DataSet row limits for each chart type?" on this…
-
You can utilize a beast mode to defined the different buckets and then drop your length column into your chart and use the average aggregate on it. CASE WHEN `Years old when moved in` >= 70 THEN '70+' WHEN `Years old when moved in` >= 70 THEN '60' WHEN `Years old when moved in` >= 70 THEN '50' WHEN `Years old when moved…
-
Thanks @blool1 but that just highlights the new features that are coming out. It doesn't get into technical details about any of the underlying data changing - case in point there's a new activity log type called workbench_JOB which is now different than the old JOB type. When we've configured our data flows to look for…
-
Hi @brady_price Your beast mode looks incomplete - you have a trailing closing parenthesis. Are you doing anything else with your count like a SUM perhaps? COUNT(DISTINCT `user_id)) over (partition by `rubric_id`) The way Domo functions is that it will run your "query" twice. The first time with the beast mode to return a…
-
Yeah, it'll automatically filter based on the date or card filters, the period offset won't be able to change but the timeframe they're looking at can. You can always define additional offsets if necessary.
-
Hi @user048760 Are Just names included in your column and you want to blank it out or is there other information in that column that you need to retain except for the name? If it contains just the name and you want to set it to one if it is populated you could utilize a formula tile in Magic 2.0 with this code: CASE WHEN…
-
I’d recommend using a date dimension with custom defined offsets. Using the custom date offset dimension you can have the current value and the value from 12 months ago. This will simplify your graphing and correctly calculate the current month to the partial month from the previous period . I’ve done a Previous write up…
-
Hi @jgillman You'll need to aggregate your data and count all of the subscriptions before attempting to calculate the weighted average. You can't aggregate an aggregate in a beast mode so pre-aggregation is required. Once you have the number of subscriptions counted you can then use that new field in your beast mode to…
-
@Imbesat - Are you aggregating your data from your dataset in your table card or are you just displaying your dataset? You may also be able to utilize DataSet Alerts for individual rows. https://domohelp.domo.com/hc/en-us/articles/360042925994-Creating-an-Alert-for-a-DataSet
-
@AkshayAnand2 - This KB article may help explain Summary Numbers: https://domohelp.domo.com/hc/en-us/articles/360043428753-Configuring-Your-Chart-Summary-Number
-
You can use the value mapper to map the 0 to an empty string (click the gear icon on the replacement field - select empty string) before you use the Set Column Type.
-
You're attempting to aggregate twice (COUNT(SUM()) which Domo doesn't like. Are you grouping based on the order ID at all? Do you have multiple records for the same order id in your dataset? In simple business terms what are you attempting to calculate? Why are you attempting to count the sum of line items? Do you just…
-
You can add another SQL transformation (not a table one) to have it drop the final table if it exists before you run the word_cloud function call because in the MySQL database that's spun up it'll create the table but won't ever remove it when you attempt to create it again and cause the table already existing error. DROP…
-
Hi @Jobur You can utilize a beast mode to create buckets for your margin % the following beast mode works since it evaluates the first condition it finds to be true and exits. If you want to sort by these values you can make another beast mode with the same logic but instead of the string (75-100%) you can return a number…
-
Hi @DKCloud9 You’ll define the schema of your data set with a DataSetRequest object and pass that into when you create your dataset. There is an example of how this works on the GitHub repository specifically lines 14-17 (creation) and 33-38 (updating)…
-
Another option is to utilize a Value Mapper tile to search for values of 'x' and replace it with 1 or 0 (default value) if it's not found. Then use a Set Column Type tile to convert it from a string to a numeric. You can copy and paste the following code into your dataflow to replicate this logic (tweak your dataset and…
-
Hi @user048760 If you have Magic ETL 2.0 you can use a formula tile and a case statement to swap it out to a 1 in a new column: CASE WHEN `ExcludeOnline` = 'x' THEN 1 ELSE 0 END Alternatively you can do this as a Beast Mode as well if you need it just on the card. If you don't have Magic 2.0, you can wait when it comes GA…
-
You could utilize Magic ETL dataflows to check the date on the data and either split it out and archive it or remove it from the dataset depending on your company's data retention policy.
-
Hi @leeloo_dallas Since you mentioned Magic ETL you can utilize a Rank and Window function to calculate the LAG for the download field. You can then take the current download count for that day and subtract the lag value to get the difference increase for your day. You'll want to make sure to partition based on the year…
-
You and me both @Ainash. Is that the error message you get when selecting 'Run to Here' on your function call to the word_cloud? Are you able to add a transformation to just select the column you need (plus another or just a bogus value) from your input dataset and utilize that resulting table as your input table to?
-
To address the 4 week rolling average you could utilize the LAG window function however you'd need to have 28 different LAG functions (I'm assuming your date has a day grain and not a week grain here. If you have it by week this becomes easier and you can refer to the post @MarkSnodgrass mentioned) called in your beast…
-
Hi @Shumilex I'd recommend utilize a custom date offset where you can compare one date to a different date. In your case you're just wanting to know the value from last week. I've done a write up / walk through of this methodology before. You can find more information here:…
-
Hi @Ainash Does your dataset have a single column? If that's the case the word_cloud function doesn't work with a single column. You can add a dummy column to allow your dataset to be processed. I've written about this previously here: https://dojo.domo.com/discussion/comment/54744#Comment_54744
-
Hi @Lashes You can use some simple math to convert your negative number to a positive one and some trickery with the FLOOR and CEILING functions to get bands of 10. CASE WHEN `days until due` * -1 > 60 THEN '60+ days' CASE WHEN `days until due` >= 60 THEN '-60+ days' ELSE CONCAT(FLOOR(`days until due` / -10) * 10, '-',…
-
@ChristianW - Yes exactly what I'm looking to do but you can't get it without adding a constant value to group on in the group by tile. SQL and Window Functions don't require a column to perform a grand total.
-
Hi @DKCloud9 Have you tried utilizing pydomo? It's all packaged to neatly do this and is a supported method for communicating with the APIs. Are you getting an error message back with your 400 code? Have you tried replicating your API request in a tool like Postman to make sure your body, parameters and url are correct?
-
Glad I could help @Liliana. If you could accept my answer so others can find it easier I'd appreciate it! Thanks.
-
@amehdad21 beat me to it but he's correct, you'd use a Group By tile to aggregate your data grouping on whatever the partition you want to calculate the average across. If you want to do it across your entire dataset you'd need to add a constant value (Add Constant tile) in a new column to group by (Group By tile requires…
