Variable Domains and Aliases
I am working with Tableau WDC API and testing it on Tableau 10.0.2. This is my situation:
- I was able to set columnRole for each column in my tables depending on whether the variable has classifications or not.
- If I go to Tableau’s working sheet I can see my columns grouped into measures and dimensions based on the columnRole attributes I set in the connector, which is correct.
However, I noticed these:
- If I skip the columnRole step in my connector, then the variables in tableau are grouped into dimensions and measures based on their data types. String variables are automatically added to dimensions while numeric variables are added to measures.
- In tableau, if I take a measure variable and convert it to dimensions, and right click on the converted variable, I can see the “Aliases...” option, where I can see the domains (Member) and values associated to this variable.
- On the other hand, if I have the columnRoles set in my connector, the variables are grouped in dimensions and measures as expected. In this case, however, right-clicking on the dimension variables omits the “Aliases…” option.
- It seems like “converting a variable from measures to dimension” is the step that computes the domains of the variable being converted, whereas, if we skip this step, tableau does not automatically recognize the domains.
So, the questions are:
- How can I set up my connector to make sure that tableau will automatically recognize the domains of my dimension variables?
- Once I have set the domains (Member) on dimension variables, is there any way I can set aliases (Values) on those domains?
Thank you.
Thanks @gilbert-n this looks like it might be a bug on our end, we will investigate.
Just checking in around a potential fix for this issue. Could you confirm and flag as a bug? This impacts a Tableau integration with a new product we expect to launch shortly. Is there a chance for it to be address in coming weeks? Much appreciated.
@sdesmond46, I think you had looked into this if I remember correctly, any thoughts?
Gilbert who was working on this left our team. Last time I heard he mentioned he was waiting for the "bug" to be fixed. Let me know if you have more information or need something from our end. Would need to have someone dive back into the project/code....
Closing for lack of activity, please reopen if still an issue.