How to set a default date-filter for iFrame-embedded dashboard?
Folks,
First, this dashboard will be viewed embedded in a webpage iFrame. These seem to behave differently in a lot of regards, to please keep this in mind.
Okay...I have 18 months of data and growing. I want users to arrive on this dashboard page and see the previous TWELVE months by default.
But I want them able to change that filter and see all 18 months of data if they want. And I want them able to change the filter for the entire dashboard, not just one card.
And by default I want the data grouped by WEEK -- but again, the user should be able to change this.
For an iFrame-embedded Domo dashboard.
Possible?
Best Answer
-
My understanding is that Default Filters aren't supported on embedded dashboards currently. You could default all the cards you have on your page to view the last 12 months via the date picker and put a calendar filter card on your dashboard to allow users to select different time frames. Doing a different graph by option in an embedded dashboard isn't possible at this time.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1
Answers
-
Have you created a filter view and saved it as the default? You should be able to set all of your criteria with the date range filter in the top right of the dashboard and then save it as the default. See this KB article for more information:
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
Yep, tried that. That's why I emphasized that this is going to be embedded in an iFrame.
When viewed thru an iFrame by a (non-logged-in) user, those prepared filter views aren't included in the filter bar.
0 -
When you chose to embed the dashboard, which options did you select?
According to this KB article, https://domohelp.domo.com/hc/en-us/articles/360043437993-Sharing-Cards-and-Dashboards-Outside-of-Domo-Using-Domo-Embed#h_01ESKWJ8QEVSRKQBQVQA9P65QP it indicates that the page filters will display if the Allow interactions and filtering are checked.
- Allow interactions and filtering. Allows you to enable interactions and filtering on embedded Dashboard Cards. You should turn off this option if you want to lock down your embedded content (usually only for public embed).
- Interactions include such actions as opening the Card details view in a new browser tab, opening a specified web page, and enabling drilldown into the Card. For more information about configuring interactions in Dashboards, see Setting Card interactions.
- Filtering in this case refers to the use of Page filters, which are discussed in Applying Page-Level Filters. Note that when you embed a Dashboard publicly, all columns on all DataSets used in the Page are available for filtering whether the columns are used in Cards or not. However, you can block access to sensitive columns by disabling interactions on the Cards (as explained in Setting Card interactions) or transforming the data to exclude the columns.
Sorry, I don't have a way to test this on my end right now, so I'm relying on what the KB articles indicate to try and help you.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
My options settings...
How it looks from inside Domo. Perfect...
How it looks embedded in the iFrame. No "Filter Views" dropdown, just the "+" icon next to it.
On clicking the "+" icon I just get the usual list of DataSet fields, not my filter.
If I uncheck "Show filter bar" from the embedding options, I obviously lose that whole bar.
Checking that again and unchecking "Allow interactions and filtering" brings back the filter bar...but doesn't give me what I'm looking for.
0 -
Definitely seems like you followed all the correct steps. Either there is a bug, or the Filter Views feature is not completely built out to handle embedding properly. I would suggest sending this thread or these screenshots along with an explanation of your situation to support and see if they can confirm the bug/missing feature and get it addressed. You can start a ticket by e-mailing them at support@domo.com
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.1 -
My understanding is that Default Filters aren't supported on embedded dashboards currently. You could default all the cards you have on your page to view the last 12 months via the date picker and put a calendar filter card on your dashboard to allow users to select different time frames. Doing a different graph by option in an embedded dashboard isn't possible at this time.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
@MarkSnodgrass and @GrantSmith, many thanks to both of you!
0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 295 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 608 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 710 Beast Mode
- 49 App Studio
- 39 Variables
- 668 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 45 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 115 Manage
- 112 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive