Comments (4)
Well poop, yeah that is the tricky part because the initialization function happens every time the dashboard is loaded whether it is the first time or a subsequent time and there is no way to tell the difference.
Depending on how much effort you want to put into this you could create your own extension that does the update. But you would have to have some way to determine if it was the first load or not. One way of doing it is to have a separate Tableau parameter boolean like Is first load?
that you would save as true
and then your extension could switch the value of the parameter to false when it loads. Then subsequent calls would check the Is first load?
parameter and not run the update if set to false.
This would solve your problem but would also mean creating your own extension. Up to you if it is worth it for the dashboard switching issue.
Take care,
Keshia
from extension-date-updater.
@KeshiaRose thanks a lot for your quick responses! This is super helpful and I wouldn't have thought to use the extension as a hidden updater - I was just using it outright as the parameter.
I think I might try my hand at developing extensions when I get some down time. I think the compromise for me here will be to have only the first dashboard initialize the date and then other dashboards won't have the extension active. Hopefully there won't be too many complaints from users if they navigate back to the first dash and it resets :)
from extension-date-updater.
Hi @davidihernandez,
I would use the Data-Driven Parameters extension for that. Create a calculation that returns the correct date, for example, `MAX([Order Date]). If you don't already have that calculation or it isn't already on a worksheet somewhere on your dashboard then create a new worksheet with that calculation on it and bring it into your dashboard. You can hide it by making it floating and resize it to be 1x1 pixels. Then in the settings for the extension, choose your parameter to update, the worksheet with the calculation you made and then the calculation itself. Finally, go to the options tab and select "Automatically reset values on dashboard load." to override the parameter every time you open the dashboard.
This should get you the desired outcome you're looking for. Also, I want to note that this feature is currently slated to be built into the product starting with 2020.1. You can test it out with the Beta version.
Take care,
Keshia
from extension-date-updater.
Thanks @KeshiaRose ! This is getting me 90% there.
Quick question, is there a way to make it override the dash load if a user selects another date and then navigates to another dashboard in the same workbook? Essentially having the parameter update on initial dashboard load
- Extension updates my calendar picker widget to be the last available date (i.e. 1/1/2020)
- User selects another date to investigate (i.e. 12/25/2019), goes to the next dashboard tab to drill down
- Ideally the parameter stays at 12/25/2019, but the way it is currently configured, it will bring us back to 1/1/2020
from extension-date-updater.
Related Issues (20)
- Date customization HOT 1
- Feature Request: Making 'Date Updater' extension compatible with DateTime parameters HOT 1
- Extension URL Broken HOT 11
- Extra date possibilities HOT 4
- The extension show nothing except the home page HOT 6
- Dashboard reloads non-stop when user only has viewer license HOT 1
- Error in loop while loading HOT 1
- Edit Tableau - Date Updater Extension HOT 1
- Update Date on a daily basis without manual publish HOT 1
- Date updater page reload issue -- Tableau version 2019.4.3 HOT 1
- Functionality when switching between dashboards HOT 1
- Need to add hierarchy drill down in Apache Superset HOT 1
- Suboxone Payment
- Package
- Package
- Ashley Drake HOT 2
- Blank
- Question about "update last date in simple Date filter" HOT 1
- Extension not working in tableau 2021.2.2 desktop HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extension-date-updater.