Best Of
Re: Counting the occurrence of a certain character in string
yes.
calculate the length of your string.
then subtract the length of your string if you replace the search character with a blank.
ex. length('mf_string') - length(replace( 'mf_string', 'M', ''))
Re: Adobe Analytics JWT v2 Connector Multiple Segments
Hi @t238, how did you go with this?
Admittedly, there's not much resources available online on Adobe Analytics connectors and Domo but what I understand from this article [https://domohelp.domo.com/hc/en-us/articles/360063205353-Adobe-Analytics-API-v2-Connector-with-JWT-authentication-and-Partition-Support], there's a limit to the segments you can bring through your report (i.e. Just 1 segment). Using the OAuth route, you can bring in multiple segments but that has a token refresh limitation. It's worth bringing your case to your Customer Success representative and/or arranging consulting hours if you haven't already and want to avoid the workaround of having multiple reports setup through JWT.
Also, there's the option of creating the report on the AA Workspace and then setting up a email forwarding connector to Domo. Food for thought if anything else.
amehdad
Re: Line over BAR chart
Hi @ozarkram
I'd suggest utilizing a date offset dimension table to allow you to have the metrics for the prior year based on a specific date and then utilize a beast mode to bucket your numbers properly. I've done a writeup in the past on this here: https://dojo.domo.com/main/discussion/53481/a-more-flexible-way-to-do-period-over-period-comparisons#latest
You can then utilize a beast mode for this year and another for last year, put the last year beast mode first (these are the lines in the line + bar chart) and then put in this years beast mode.
Re: Line over BAR chart
If you want to got the bar and line route, I think you'll need to use a new date column to graph by. Right now, your data is looking something like this with the beast modes:
Date Inventory This Year Last Year
Wk 1 2022 1,000 sno
Wk 1 2021 1,000 sno
You've identified last year and this year, but last year will still be graphed using last year's dates. You'll need to use a beast mode to create a date column where this year's dates are unaffected, but when the date is last year, add one year to it.
Re: Problem with column sorting
Not 100% sure on how to fix the sorting when you don't have the column, but if you just don't want the column to show on the card, you can just hide it using Hide Columns under General chart properties.
Re: Independent filtering within a dashboard, using the same column
Thanks for the step by step guide @Godiepi, I think what I was missing was linking the beast mode dates to the specific value cards in the date settings. It's working now as you describe. Thanks for the solution here and walking me through it.
Re: Drill-path showing in dashboard
@Kailin Do you have a drill path configured on the card? The Drill in Place option does not go down to the raw data table, so you will have to configure a Mega Table or HTML table in the drill to see the detail in order to drill from the dashboard.
Re: Is it possible to achieve last 30, 60, 90 days from the current date
Because of the way case when statements work in a waterfall manner, you won't be able to achieve exactly what you want. It will evaluate the first part and then it will be impossible for anything that fits the first part to go into the other categories. The are ways to do what you want but they get kind of complicated. I would suggest either using a multi select quick filter for your 30/60/90 beast mode and you can select multiple ranges to give you the equivalent of what you need, or use your date range beast mode as a quick filter where users can either use a slide or enter a less than or equal to value.
Re: Remove hyperlink from scheduled report
It would be nice to have the possibility of setting the hyperlink on or off.
Re: Independent filtering within a dashboard, using the same column
@bradw I understand the process to make it work is a little difficult. let me layout for you by step
You are working with [Order Created Date] for your filter and [Sales Amount] for you single value card
- Create 2 Beastmodes around
[Order Created Date]as follows :- Beastmode 1 =
[Order Created Date1]formula =DATE(`Order Created Date`) - Beastmode 2 =
[Order Created Date2]formula =Date(`Order Created Date`)
- Beastmode 1 =
- Create 2 Date Selector cards as follows
- Card 1
- Name = Date Selector1
- Card Type = Filter Date Selector using beastmode field
[Order Created Date1] - Make sure in analyzer that the date range field in use is
[Order Created Date1]
- Card 2
- Name = Date Selector2
- Card Type = Filter Date Selector using beastmode field
[Order Created Date2] - Make sure in analyzer that the date range field in use is
[Order Created Date2]
- Card 1
- Since you already have the single value cards showing the sum of amount created as Date 1 Sales and Date 2 Sales, the only step here is :
- Open Date 1 Sales in analyzer
- Go to the right upper corner and adjust the date range field to use
[Order Created Date1]and saved.
- Go to the right upper corner and adjust the date range field to use
- Open Date 2 Sales in analyzer
- Go to the right upper corner and adjust the date range field to use
[Order Created Date2]and saved.
- Go to the right upper corner and adjust the date range field to use
- Open Date 1 Sales in analyzer
- Place the 4 cards in the dashboard
- On the dashboard page go to the wrench icon (Dashboard settings) and choose the last option at the bottom Filter Options to uncheck the option of Allow Global Date Filters
- Go to the dashboard settings again and adjust the interaction of each Date Selector to only affect one of the cards
- Date Selector1 apply to only Date 1 Sales
- Date Selector2 apply to only Date 2 Sales
Let me know if you still can't get it to work because it works for me just fine. if you still have issues I dont mind jumping on a quick call to walk you through.



