Hi, I am using this wholesale customers dataset as an example.
Using PQ, I have unpivoted all the columns from Fresh to Delicassen as shown below. What I would like to do next is create a column "Order ID" that would work like an Index column, except it's incrementing by 1 with each new occurrence of "Fresh" (the first un-pivoted column).
What would be the best way to do this in PQ? Thanks all
Using PQ, I have unpivoted all the columns from Fresh to Delicassen as shown below. What I would like to do next is create a column "Order ID" that would work like an Index column, except it's incrementing by 1 with each new occurrence of "Fresh" (the first un-pivoted column).
What would be the best way to do this in PQ? Thanks all