Hi Rajesh Kumar,
Bex Query Designer ---> Query Properties -----> Rows/ Columns tab ----> Supress Zeroes ----> select 2 Active all values =0 radio button...
Supress Zeroes means it suppress the Empty lines also. Try it once
It works fine...
Thanks,
Purushotham.