7 Replies Latest reply on Aug 2, 2018 2:44 AM by kumar bharat

    Tableau pass through function

    Rico de Feijter



      I have the following calculation:


      In the calculation above, the 'ParentRekening' is CWP. Is there a way to make this variable?


      Moreover, I want to use the same calculation over and over again for other ParentRekeningen. Examples of these include APB, RMA etc.


      Now I must create the same calculation multiple times for each ParentRekening, where the only difference is the ParentRekening (in one calculation this is CWP, in another APB etc). Does Tableau support a pass-through function such that you can say calculation('CWP'), calculation('APB') etc so that you have to make the calculation only once and are able to call it with different ParentRekeningen?


      Thanks in advance.