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
Would it be possible to include a dummy-tds or twb that already has a query band in it?
It would also be great to include a sample query band update you might make.
It's very helpful for us when building test cases and understand the requirements.
I've attached a dummy workbook that contains both sample query bands & sample initial sql.
As far as an example use case. I would like to be able to write something like
for workbook in folder:
for datasource in workbook:
if datasource.query_band is none:
datasource.query_band = 'TableauReport=<workbookname>';
elif datasource.query_band does not contain 'TableauReport=<workbookname>':
datasource.query_band += '\n TableauReport=<workbookname>';
note: in this case I'd like to be the special value that you can use in query bands now and not a hardcoded string of the current workbook name.
Activity
t8y8 commentedon Nov 3, 2016
@r-richmond Thank you for opening a request!
Would it be possible to include a dummy-tds or twb that already has a query band in it?
It would also be great to include a sample query band update you might make.
It's very helpful for us when building test cases and understand the requirements.
(I'm marking this as an enhancement)
r-richmond commentedon Nov 3, 2016
Sure,
I've attached a dummy workbook that contains both sample query bands & sample initial sql.
As far as an example use case. I would like to be able to write something like
note: in this case I'd like to be the special value that you can use in query bands now and not a hardcoded string of the current workbook name.
bands_initial_dummy_workbook.twb.zip
Add `initial sql` and `query band` support (#123)
Release 0.6 (#126)
r-richmond commentedon Jan 20, 2017
Marking this as closed with release 0.6 & the merging of #123