Skip to content

Unpivot rows into columns

I want to unpivot the a table, based on Case number: (see image for the formatted table) However, it is a large dataset, so I cannot put the value of every date in the unpivot function. Any help …

Count number of results per CustomerID

I am looking into phone calls to customers and I need a column that count the results for previous calls to the same customer. E.g how many of the prior calls has ended with the result “No Contact” …