Anand, I tried to add variable to global filter and key figure filter (in key figure restriction in query, as I undestood) same time, but it doesent help.
Code is correct, because rsrt test is ok, and both variables are filled.
Cornelia, your idea works, but we can't use it because it wouldn't be possible to add new rows by user (in WAD) to cube, we need this option.
Regards,
Nadya