Hi Govind,
You can try this
1. Create a calculated key figure where you can add 1 as a formula. In the aggregation tab select counter for all detailed values that are not zero.., select customer as reference characteristic.
2. Create a selection in your columns of the query. In the selection add the CKF you have created, add all other characteristics and select constant selection.
I think that will work.
Hope it helps
Yasemin...