Forum Discussion

maciekbala's avatar
maciekbala
Regular Visitor
4 years ago
Solved

Pivoting table?

Does anyone know how to count unique values in both of these columns, and create a table where the columns are the name of the unique values, and the rows are the names with attached number of the un...
  • PaulDBrown's avatar
    4 years ago

    With the original data table, create a matrix visual using Operator name field as rows, PlatformType field as column and add this measure to the Values bucket in the matrix:

    DistinctCount of PlatformType = DISTINCTCOUNT (Current Table [PlatformType])

     

    BTW your desired output example doesn't match the original table data. If you want the number of rows for each PlatformType per user use COUNT instead of DISTINCTCOUNT