I have created a view. Which looks like
In coln I want to calculate percentage. I want to count number of ones in the row, then find out null value in the row and then get percentage. In other words I want to count null or one in the row.
Thanks.
Code:
Col1 col2 col3 col4 ....... Coln
1 1 0 2/3*100
0 1 0 0 1/4*100
In coln I want to calculate percentage. I want to count number of ones in the row, then find out null value in the row and then get percentage. In other words I want to count null or one in the row.
Thanks.