1 Reply Latest reply on Jan 4, 2017 11:45 AM by diego.medrano

    Create calculated dimension using secondary data source dimensions

    Ignasi Villaseca

      Hi everyone,


      I'm kind of new to Tableau, so I apologize if this is a very basic question.


      I want to create a table where the user can pick the dimension he wants to see. In order to achieve this, first I have created the following parameter:




      Second, I've tried to create the calculated dimension like this:



      I am attempting to use the ATTR function because the necessary fields (Provincia and Poblacion) are not in the primary data source:




      ...But I've read that, as I'm using the ATTR function, that cannot be interpreted as a dimension. So I honestly don't know what to try next.


      Any help?


      Thank you very much.