Hi Reena,
Can you elaborate on your requirement ? Where are you trying to create the variable ?
Why you do not want to use a filter ?
If its a variable in the Webi report, below are the main options-
1) Query level filter (restricts the data at the query-level)
2) Report level filter (restricts the data displayed from the microcube)
3) Ranking (ONLY the top 'N' data will be displayed)
Regards,
Monish