- For Command Line Interface: please refer to Usage of Command Line Interface
- For Server mode and REST API: please refer to Usage of Server Mode
Please visit ${Kyligence-ZenML-Toolkit-{version}}/samples/tableau/
to get the data csv file and a tableau tds file
# please replace ${Kyligence-ZenML-Toolkit-{version}} with absolute path
$ cd ${Kyligence-ZenML-Toolkit-{version}}
$ sh ./bin/zen.sh -i ./samples/tableau/superstore.tds -o ./samples/tableau
You will get a superstore.zen.yml
file in folder Kyligence-ZenML-Toolkit-{version}/samples/tableau
- Login into Kyligence Zen
- Go to Data, click New, Choose Table
- Choose upload csv, upload
orders.csv
file in folderKyligence-ZenML-Toolkit-{version}/samples
- You will create an
orders
table after you finished all steps in wizard - Go to Metrics, click Import
- Import
superstore.zen.yml
file - All metrics defined in tableau tds file will be imported to Kyligence Zen
- Mapping the
TDS/TWB
file to data model objects - Extract the metrics from Tableau Calculate field
- Data model name from tableau tds file
- If a metric refers the dimensions from more than 1 table, will use the tableau data source name as data model name
- If a metric refers the dimensions from only 1 table, will use the table name as data model name
- If a metric refers no dimensions, will use the tableau data source name as data model name
- Not all expressions in tableau calculated fields can be supported in Kyligence Zen, only SQL compatible expressions supported
- Please make sure the all identifiers(table_name, col_name) should be in lowercase, and only contains letters, numbers and underscore