4 Replies Latest reply on Sep 8, 2019 12:44 PM by Yeyner Escobar

    TABLEAU PREP: Show percentage of each segment

    Yeyner Escobar

      Hello tableau community; I am trying to materialize in my data the percentage value of each segment,


      I have created 3 calculated fields to separate the segments, I did it this way, I don't know if there will be another better way:


      The calculation is as follows:

      I have also grouped the segment field and placed the value of 1, this to show a 1 for each record


       

      This is where I want to show a new calculation that shows me the percentage value of each row with respect to the total:

       

      I think I need to know the total value of the segment, a formula to apply it in a calculation, could be:

      I don't know how to do this calculation in tableau prep
      I appreciate the help you can give me!!
      I attach the workflow of tableau prep 2019.2.3