Forum Discussion

WayneRoseberry's avatar
WayneRoseberry
New Member
9 years ago
Solved

How to create new table that pivots columns based on dynamic values in existing column

I have a table that looks like this:   Failure Audience hits 123456 Team 100 123456 Insiders 230 445632 Team 25 445632 Insiders 100 445632 Outsiders 332   And I w...
  • WayneRoseberry's avatar
    8 years ago

    A co-worker helped me figure out the solution.

     

    I used a Summarize operation, and then on the calculated column, did a double filter. The insider FILTER operation matches all rows to the current Failure via an EARLIER operator. The outer FILTER then matches all rows where the "Audience" field equals a specific value. It isn't quite dynamic (I am hard coding to look for specific values in the Audience column, which in my case are a finite set), but it gets the job done.