I would like to be able to return the LAST populated column for a range of columns.
I have a table with columns:
CUSTOMER,PRODUCT,M1,M2,M3,M4,M5,M6,M7,M8,M9,M10,M11,M12
The Mx Columns represent the last 12 months and contains a qty (number).
What i would like to do is find the LAST month of an...