You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a builder for this implemented here [https://github.com/bryantbhowell/tableau_tools/blob/master/tableau_documents/tableau_datasource_generator.py] . My mechanism is to hold all of the potential filters to create in a queue until you generate the final XML. There are three discrete types of filters which each have their own options / manifestations.
Most of this is explored here [https://tableauandbehold.com/2016/06/29/defining-a-tableau-data-source-programmatically/].
Haven't gone into making existing filters editable yet -- possibly load from the original, throw it away, then recreate using the builder might be the most effective strategy?
Activity
MikeRobertsPS commentedon Jun 29, 2016
Nothing's worse than republishing a workbook that was originally secured with a data source filter and NOT having it there. This just automates it. Here's an example: https://github.com/DataRoberts/Tableau/blob/master/TableauDesktop/TsDataSourceFilters.ps1
bryanthowell-tableau commentedon Sep 20, 2016
I have a builder for this implemented here [https://github.com/bryantbhowell/tableau_tools/blob/master/tableau_documents/tableau_datasource_generator.py] . My mechanism is to hold all of the potential filters to create in a queue until you generate the final XML. There are three discrete types of filters which each have their own options / manifestations.
Most of this is explored here [https://tableauandbehold.com/2016/06/29/defining-a-tableau-data-source-programmatically/].
Haven't gone into making existing filters editable yet -- possibly load from the original, throw it away, then recreate using the builder might be the most effective strategy?
graham-macleod commentedon Oct 7, 2016
The ability to add userfilters would be amazing.