Looking at the available datasources in Tableau, I cannot see Cosmos DB listed:
Others have asked this question before and there is a ODBC option from CDATA:
Is tableau going to offer this any time soon considering many are now using Cosmos DB ?
Using the CData option is expensive.
Yes please wait sometime.please add this into tableau ideas section and get it soon. Tableau will consider.