Using tableau command line refresh extract with multiple connection - tableau-api

I have published an extract over Tableau Server which I need to update into every 10 minutes.I am able to do so when a single connection is involved using tableau command line.
tableau refreshextract --server https://online.tableau.com --username user1 --password pass --project project --datasource data_123 --source-username connection1 --source-password connection1
How I can refresh the extract if extract was generated from two or more connections.
I have tried above commands but it's not working.
Error There is no active connection to the data source

Set up a schedule on the server. Sign in to the server, go to the Schedules page, and click New Schedule. Set the recurrence to be every 10 minutes.
Enable scheduled extract refreshes and failure emails. As a server or site administrator, you can enable schedules, as well as email notification when extract refreshes fail.
Select Settings, and then go to the General page.
Under Email Notification, select Send email to data source and workbook owners when scheduled refreshes fail.
Under Embedded Credentials, select both check boxes to allow publishers to embed credentials and schedule extract refreshes.
Publish a workbook with an extract. In Tableau Desktop, select Server > Publish Workbook. Sign in to the server if you’re not already. In the Publish Workbook to Tableau Server dialog box , click Schedules & Authentication. Under Extract Schedule, select the schedule from the list.
See the Tableau Quick Start at https://onlinehelp.tableau.com/current/server/en-us/qs_refresh_extracts.html

Related

Tableau Desktop Connection to Tableau Server ..Data Source

I able to connect to Tableau Server using Tableau Desktop 2020.2.7 and cannot see data in "Search for data ". I am planning to run a performance recorder for one Dashboard. Please advise what has to be done to see the dashboard.
Note: I am able to access all dashboards when I log in using the Tableau server using the URL through the browser.
You will need to seek elevated permissions in order to connect Tableau Desktop to Tableau Server. In the case that you intend to develop locally and be able to publish (and overwrite) you would need the access level of:
'Explorer (can publish)'
Yes, it appears whilst you have 'Viewer' access that enables you to you access dashboards via the URL in the browser, you won't be able to connect Tableau Desktop nor be able to download the workbook as a file either (only summary data).
See Permission and Roles
Namely what each of the capabilities are under different scenarios (matrix table)

Can't schedule refresh in PowerBI Service

I have a PowerBI report with 2 tables sourced from separate web API calls to a similar service, let's call it MyService. The service returns json. The report refreshes perfectly within PBI Desktop. The report publishes to PowerBI.com where it runs without a hitch. On-demand refresh of the report's dataset in the PBI Service works perfectly too.
I can't schedule a refresh for this report because the option is greyed out. There is an error reported in the Data source credentials section where one of the two Web sources reports it cannot connect to MyService. The error is... "Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."
Attempting to edit the credentials for the failing connection results in a 500 Internal Server Error.
This error is unexpected because I understood the on-demand refreshes & scheduled refreshes would use the same data source(s). There is no where to specify different data sources/credentials for on-demand vs. scheduled so I just assume they share the same sets of credentials.
Is something weird going on or does my understanding of the innards of the PBI Service need realignment?
Resolved via workaround...
PROBLEM
Dataset credentials cannot be updated without causing 500 error. Invalid credentials disables scheduled refresh options. When publishing a .pbix file via PBI Desktop to PBI Service it may fail to update the dataset connection in the service, leaving it in an invalid state. Refreshes cannot be scheduled while there are any invalid dataset connections.
WORKAROUND
Open the same .pbix file via PBI Service (i.e. PowerBI.com --> GetData), and the dataset connection will be updated. Credentials can now be set without error, thus allowing scheduled refreshes to be set.
If schedule refresh to be worked without gateway, then your data source should be online/cloud or on sharepoint. else you require gateway. ensure all your data sources for .pbix file has cloud only/share point only as source, if its from offline file & online then simply scheduling does not work, you need to setup gateway.

Schedule reports in Pentaho user console

How to schedule reports in Pentaho User Console.
Also let me know how to email scheduled reports particular address in
Pentaho User Console.
You will not be able to add Email Functionality in Pentaho user console, for that you have to use pentaho data integration, what i will suggest is use pentaho data integration, run the report using PDI, schedule a job and add email step and send the report to specified email address.

Can Tableau Reader connect to a workbook published on Tableau server in a remote location?

I have multiple people that I want to access this workbook, but we have license restriction limits. My boss recommends tableau reader, but have never used it. The tableau workbook is published in a secure website and the tableau server program is stored in a Remote Desktop.
Any help would be greatly appreciated!
Thank you!
Tableau Reader can open Packaged Tableau workbooks. A packaged workbook is a tableau workbook file with the data saved along with it. It has twbx file extention. So if you have access to the workbook on your server and you can download it and the data, then Reader should work for your case.
Tableau Reader cannot connect to Tableau Server. You need to download the twbx file first. Either your users will need a shared account on tableau server which is restricted access to the content you want to provide.
Or your users could use tabcmd to download the content without directly signing into the server.
tabcmd login -s http://remotehost -u user -p password
tabcmd get "/workbooks/sharedReport.twbx" -f "C:\Workbooks\sharedReport.twbx"
The useful pro of the 2nd option is that it could be automated into a script and run from a schedule, perhaps under a different account so that end users are not aware of it.

Tableau Reporting

I am currently using Tableau for my reporting module. However, I have several issues I need answered. I tried the following; please comment if I am on the right track.
I want to embed Tableau generated report to my website, so I used Javascript API. My data may come from Tableau Online (Cloud Server), or Tableau Server, for now I used Tableau Online.
Now, I have to create my report so I used Tableau Desktop to create how my report would look like. Tableau Desktop can connect to my local DB for get data.
Then, I published my workbook to my server . However, in Tableau Online, I need to data connection which fails since I don't have a live server.
I downloaded Tableau Server but I can't proceed since in configuration it want an Active Directory credentials.
I haven't done any output, I think I am stuck. I would welcome some input.
Tableau supports both Active Directory and Local Authentication Mode. We have tableau server running in local authentication mode but however its not highly advisable to run the server in local authentication.
If you have installed tableau server in active directory mode, reinstall the server. During your reinstall select local authentication as the default authentication. Once you have installed it, you need to add on Administrator Account.
Another workaround is go to All Programs > Tableau Server > Configure Tableau Server. In General Tab, you will be having the User Authentication. Try changing it if its enabled. If its disabled you need to reinstall tableau.
below are the steps to reinstall tableau server
Back up and remove Tableau Server
When Tableau Server has been uninstalled, open Windows Explorer and navigate to C:\Program Files\Tableau.
Delete the Tableau Server folder.
Navigate to the C:\ProgramData\Tableau.
Delete the Tableau Server folder.
Reinstall Tableau Server and restore the backup
Install Tableau Server. This step will allow you to set a new authentication method.
After installing Tableau Server, a browser window will display and you will be prompted to create a new administrator account. Ignore this, and close the browser window.
After restoring your backup file, a browser window will display and you will be prompted to create a new administrator account again. Ignore this, and close the browser window. If you are prompted to type in the Run As user password, type the password and continue with the next step. You will not see a password confirmation.
In the Command Prompt window, from the Tableau Server bin directory, type the following command to reset Tableau Server back to a state that requires an administrator account to be set up:
tabadmin reset
Open a browser window, and type http://localhost in the address bar to set up the administrator account for Tableau Server.
I may have assumed that when you say Tableau Online, you dont mean the Tableau Public..
I assume your tableau online is your local or let's say company hosted tableau server...
for the answers to your questions in sequence
1 - 3 it can be done.
tableau supports a lot of datasources even the classic text based data it can read..
did you tried installing your database drivers?
If the server is configured to use local authentication, when you add
a user identity, you specify a username, a password and a site role.
In that case, the Tableau Server repository is used exclusively to
authenticate the user.
http://onlinehelp.tableau.com/current/server/en-us/security_auth.htm