2 Replies Latest reply on Jun 21, 2012 8:19 AM by juan.perez

    Counting within an aggregation MAX, MIN, attr

      Hi im new to tableau and i need a lhelp with counting within an aggregation. The problem is that when i try to count the number of times a string is repeated in a column of my excel file i always get null values. Reading other posts i have tried the solutions posted in there but its not working out. Here is the calculation im trying to do:


      if MIN([Defecto])='RT' then COUNT([Defecto]) end


      if MAX([Defecto])='RT' then COUNT([Defecto]) end


      if attr([Defecto])='RT' then COUNT([Defecto]) end


      I would appreciate any help on this, thanks in advance.