8 Replies Latest reply on Dec 12, 2012 10:18 AM by Ben Porter

    Grouping a row in to multiple groups?

    Sheron Madhushanka

      Hi,

      Can you do a group by two different fields in Tableaue?

       

      For an equivalent SQL query like below

       

      select [Life Product], [Life Client ID], count(*)

      FROM [AnalyticsDB].[dbo].[NFU_LIFE]

      group by [Life Product],[Life Client ID]

       

       

      I need rows in tableau first grouped by a product and then customer number.

       

      Is this at all possible?

       

      Thanks

      Sheron