コメント
-
Hi @tejusarora Have you tried it to just return a TRUE / FALSE statement instead of doing your CASE statement? member = 'John Doe' AND `date` >'1/1/2021'
-
Its likely possible with a beast mode and just filter the card based on when that beast mode is the current month. The question is how do you define the current month?
-
Hi @Fadem Talk with your CSM, they'd have the best insight into what Domo can offer you and your needs. You could also ask about the Beta program and getting involved with those.
-
What is the format of your Time_Out field?
-
The GoogleSheet connector wasn't written to include a batch id or batch last run. You can simulate it using a dataflow to add the current timestamp as a constant and then selecting the max batch ID +1 for your new batch ID and add it to the data you're importing. You'd need to use a recursive dataflow to append the new…
-
How are you combining your date and time fields? What format is your time field in?
-
Window functions and pivot tables can be tricky. Glad you got it figured out!
-
Hi @JunkDoom Your configuration would work to assure you don’t have duplicate records. If you’re wanting to make sure you don’t pull in any record that already exist I recommend looking into the lastvalue replacement variable in workbench query. Workbench will track the last value it sees each run and you can add a…
-
Hi @etszyingho Your beast mode should automatically take into account your date filtering. Since you're using a pivot table things get a bit funky. How are you partitioning your data within your pivot table (what are you using for the columns)?
-
Have you tried URL encoding your pfilters since you're using IFrames? You can use a website like https://www.urlencoder.org to easily convert it for you.
-
Alternatively you could utilize some math functions to simplify your beast mode to calculate just the tenure in weeks - this would allow easier filtering using a single numeric value: FLOOR(DATEDIFF(CURRENT_DATE(), `dt`) / 7)
-
I don't believe there's a way to have the best of both worlds. It's either wrap text to fit everything or have a scroll bar. That might be a good idea for the idea exchange.
-
Hi @User_32265 You can freeze a specific number of columns on the left side of the mega table. Under General there's an option for "Number of Locked Columns" to input the number of columns to lock/freeze. When columns are locked, they always appear in the table, even when scrolling to the right.…
-
The multi-line and single-line uses the same UI. It can be a bit confusing. Good luck with your calculations.
-
Hi @User_32612 A regression line isn't possible in a multi-line graph as Domo doesn't know which data points to perform the regression analysis on. You can only do it on a single line chart. You may attempt to calculate those metrics manually for each individual series or across your entire dataset but out of the box it's…
-
As Mark said you’re not able to share filters currently. You could look into deep linking with pfilter parameters and sharing a URL https://domohelp.domo.com/hc/en-us/articles/360042933114-Using-Pfilters-to-Apply-Filters-from-URL-Query-Parameters-to-Embedded-Dashboards
-
To simplify your approach I'd recommend using a date offset dimension dataset and utilizing that to calculate period over period calculations. I did a whole writeup of it here: https://dojo.domo.com/discussion/53481/a-more-flexible-way-to-do-period-over-period-comparisons#latest If you would like to continue down your…
-
PDP is the way to go when limiting access to the different records in your dataset however PDP can’t hide a specific column. I’d recommend a dataset view to not select the columns with PDP to restrict access to solve your issues
-
Conclusions I hope you enjoyed this walk through and found it useful. Feel free to post any questions or clarifications or even your own tips / tricks!
-
Caveats Dates are a tricky thing. If you subtract a month from March 31st you'll get February 28th (or 29th depending on the year... again, dates are tricky) so there is a chance that if you're comparing month over month you might count a day multiple times (March 28->February 28, 29->28, 30->28, 31->28) so it may not be…
-
Additional Tips Future Dates If you're not interested in having future dates you can filter those out of your initial offset dataset transform table (dates) if you're using MySQL. For example: select d.`dt` from `calendar_dates` d WHERE d.`dt` <= CURRENT_DATE() If you're using Magic ETL you can add an initial filter and…
-
Chart Filtering To remove the possibility of confusion and ensure your chart is displayed properly I recommend filtering in your card only the period types you're attempting to visualize.
-
Graphing Your Period over Period The traditional period over period type graphs won't work with this method however there is a really good alternative in the Line+Bar graphs. This will allow you to plot the different period types along with the percentage difference. You just need to do a few best modes depending on what…
-
Joining Datasets Together Once you have your dataset with the different user defined periods created from above you're ready to join it to your original dataset. You can use any of the options at your disposal (MySQL Dataflow, Magic ETL dataflow, Redshit dataflow, Fusions) however my recommendation are the new Dataset…
-
Magic ETL This code will work for Magic 1 or Magic 2. Just cope the code in the code block below and then use Command+V (Mac) or Control+V (Windows) to paste the code into your Magic ETL palette. You will need to define the input dataset and the output dataset. {"contentType":"domo/dataflow-actions","data":[{"name":"[DIM]…
-
MySQL Use the Date Dimension dataset you pulled in under the Base Date Dimension step above as the input to a new MySQL dataflow. Note: I named by input dataset calendar_dates Add a Table transform and call it dates with the following code: select d.`dt` from `calendar_dates` d Put this code into the output datasets:…
-
Configuring The Periods The next step is to configure the different periods. In this instance it was easiest for me to utilize a MySQL dataflow but the same logical process could be utilized in a MagicETL dataflow as well. I've outlined code to calculate the following periods however it can be expanded using the same…
-
Base Date Dimension To start we need a list of dates. Domo provides one in their date dimension connector. You can get it installed here (replace [CUSTOMER] with your instance name): https://[CUSTOMER].domo.com/appstore/connectors/com.domo.connector.domodimension?origin=dc The file you'll want to import from the list is…
-
Dataset Format Overview The resulting dataset will have three different columns: Report Date - This is the date you will use in your charts / graphs Comparison Date - This is the date you will join your dataset to Period Type - This defines the type of the period / offset
