Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding column fails on aliases #36

Open
jaybythebay opened this issue Mar 19, 2023 · 0 comments
Open

Adding column fails on aliases #36

jaybythebay opened this issue Mar 19, 2023 · 0 comments

Comments

@jaybythebay
Copy link
Contributor

jaybythebay commented Mar 19, 2023

Adding a column is failing on aliases error

Command:

tableau_utilities --clean_dir --location local --file_path '/Users/jayrosenthal/Downloads/test.tdsx' --save_tds datasource --column_name MY_FIELD --folder_name 'My New Folder'  --persona string_dimension
Unable to complete action
Errors occurred while trying to load the data source "Test". The load was not able to complete successfully.
Error(1121,10): element 'aliases' is not allowed for content model '(server-captions,calculation,utility-members?,aliases,statistical-model?,semantic-values*,desc,((members)|(range)))' (id: /var/folders/b5/zgd5y94951x5gphxds76x5n00000gn/T/tableau-temp/281698952/Test.tds)
Error(1136,10): element 'aliases' is not allowed for content model '(server-captions,calculation,utility-members?,aliases,statistical-model?,semantic-values*,desc,((members)|(range)))' (id: /var/folders/b5/zgd5y94951x5gphxds76x5n00000gn/T/tableau-temp/281698952/Test.tds)
Error(1331,10): element 'aliases' is not allowed for content model '(server-captions,calculation,utility-members?,aliases,statistical-model?,semantic-values*,desc,((members)|(range)))' (id: /var/folders/b5/zgd5y94951x5gphxds76x5n00000gn/T/tableau-temp/281698952/Test.tds)

I see this data structure in the file and I think that's the issue:

 <column caption='My column' datatype='boolean' name='[MY_COLUMN]' role='dimension' type='nominal'>
        <aliases>
          <alias key='false' value='C' />
          <alias key='true' value='P' />
        </aliases>
        <desc>
          <formatted-text>
            <run>My definitions</run>
          </formatted-text>
        </desc>
      </column>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant