Forum Discussion

thmonte's avatar
thmonte
Icon for Helper IV rankHelper IV
7 years ago

Help transforming a table? Or pivoting?

How can I pivot a table that is in this structure:

 

 

HomeAwayBoyGirl
YesNoYesNo
NoYesNoYes
YesNoYesNo
YesYesNoYes

 

Into something like this to report on

 

 YesNo
Home31
Away22
Boy13
Girl22

 

 

I thought this is called pivoting but apparently not?

 

I also want to keep this relational in a sense that if i interact with any of the Yes/No count I can see the corresponding records from the first table that has it.

3 Replies

  • nirvana_moksh's avatar
    nirvana_moksh
    Icon for Impactful Individual rankImpactful Individual

    thmontePivot the first table that you gave will return this:

     

    Pivot 

    Which you want to do first, and then drop in a matrix and have the attribute in Rows, in Columns have the Values and in Values have count of Values like this:

     

    Final Result

    • thmonte's avatar
      thmonte
      Icon for Helper IV rankHelper IV

      Is there anyway to create a relationship to drill back inott he original record?